C# Class NScumm.Scumm.Audio.Players.Player_SID

Inheritance: IMusicEngine, IAudioStream
Exibir arquivo Open project: scemino/nscumm Class Usage Examples

Private Properties

Property Type Description
GetBit int
GetResource byte[]
HiByte int
InitSound int
LowByte int
ReserveSoundFilter int
ReserveSoundVoice int
SetupSongFileData int
SetupSongPtr int

Public Methods

Method Description
BuildStepTbl ( int step ) : void
ClearSIDWaveform ( int channel ) : void
CountFreeChannels ( ) : void
Dispose ( ) : void
FindLessPrioChannels ( byte soundPrio ) : void
Func_3674 ( int channel ) : void
Func_4F45 ( int channel ) : void
Func_7eae ( int channel, byte songFileDataPtr ) : void
Func_819b ( int channel ) : void
GetMusicTimer ( ) : int
GetSoundStatus ( int nr ) : int
HandleMusicBuffer ( ) : void
IMusicEngine ( Serializer serializer ) : void
InitMusic ( int songResIndex ) : void
InitSID ( ) : void
LockCodeLocation ( ) : void
LockResource ( int resIndex ) : void
Player_SID ( ScummEngine scumm, IMixer mixer, ISid sid ) : System
PrepareSwapVars ( int channel ) : void
ProcessSongData ( int channel ) : void
ReadBuffer ( short buffer, int count ) : int
ReadSetSIDFilterAndProps ( int &offset, byte dataPtr, int offsetData ) : void
ReadSongChunk ( int channel ) : void
ReadVec6Data ( int x, int &offset, byte songFilePtr, int chanResID ) : void
ReleaseChannel ( int channel ) : void
ReleaseResChannels ( int resIndex ) : void
ReleaseResource ( int resIndex ) : void
ReleaseResourceBySound ( int resID ) : void
ReleaseResourceUnk ( int resIndex ) : void
ReserveChannel ( int channel, byte prioValue, int chanResIndex ) : void
ResetFreqDelta ( int channel ) : void
ResetPlayerState ( ) : void
ResetSID ( ) : void
ResetSwapVars ( ) : void
SID_Write ( int reg, byte data ) : void
SafeUnlockResource ( int resIndex ) : void
SaveSongPos ( int y, int channel ) : void
SetMusicVolume ( int vol ) : void
SetSIDFreqAS ( int channel ) : void

Sets frequency, attack and sustain register.

SetSIDWaveCtrlReg ( int channel ) : void
StartSound ( int nr ) : void
StopAllSounds ( ) : void
StopChannel ( int channel ) : void
StopSound ( int nr ) : void
StopSound_intern ( int soundResID ) : void
SwapVars ( int channel, int swapIndex ) : void
UnlockCodeLocation ( ) : void
UnlockResource ( int chanResIndex ) : void
Update ( ) : void
UpdateFreq ( int channel ) : void
UseSwapVars ( int channel ) : void

Private Methods

Method Description
GetBit ( int var, int pos ) : int
GetResource ( int resID ) : byte[]
HiByte ( int a ) : int
InitSound ( int soundResID ) : int
LowByte ( int a ) : int
ReserveSoundFilter ( byte value, byte chanResIndex ) : int
ReserveSoundVoice ( byte value, byte chanResIndex ) : int
SetupSongFileData ( ) : int
SetupSongPtr ( int channel ) : int

Method Details

BuildStepTbl() public method

public BuildStepTbl ( int step ) : void
step int
return void

ClearSIDWaveform() public method

public ClearSIDWaveform ( int channel ) : void
channel int
return void

CountFreeChannels() public method

public CountFreeChannels ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

FindLessPrioChannels() public method

public FindLessPrioChannels ( byte soundPrio ) : void
soundPrio byte
return void

Func_3674() public method

public Func_3674 ( int channel ) : void
channel int
return void

Func_4F45() public method

public Func_4F45 ( int channel ) : void
channel int
return void

Func_7eae() public method

public Func_7eae ( int channel, byte songFileDataPtr ) : void
channel int
songFileDataPtr byte
return void

Func_819b() public method

public Func_819b ( int channel ) : void
channel int
return void

GetMusicTimer() public method

public GetMusicTimer ( ) : int
return int

GetSoundStatus() public method

public GetSoundStatus ( int nr ) : int
nr int
return int

HandleMusicBuffer() public method

public HandleMusicBuffer ( ) : void
return void

IMusicEngine() public method

public IMusicEngine ( Serializer serializer ) : void
serializer NScumm.Scumm.IO.Serializer
return void

InitMusic() public method

public InitMusic ( int songResIndex ) : void
songResIndex int
return void

InitSID() public method

public InitSID ( ) : void
return void

LockCodeLocation() public method

public LockCodeLocation ( ) : void
return void

LockResource() public method

public LockResource ( int resIndex ) : void
resIndex int
return void

Player_SID() public method

public Player_SID ( ScummEngine scumm, IMixer mixer, ISid sid ) : System
scumm ScummEngine
mixer IMixer
sid ISid
return System

PrepareSwapVars() public method

public PrepareSwapVars ( int channel ) : void
channel int
return void

ProcessSongData() public method

public ProcessSongData ( int channel ) : void
channel int
return void

ReadBuffer() public method

public ReadBuffer ( short buffer, int count ) : int
buffer short
count int
return int

ReadSetSIDFilterAndProps() public method

public ReadSetSIDFilterAndProps ( int &offset, byte dataPtr, int offsetData ) : void
offset int
dataPtr byte
offsetData int
return void

ReadSongChunk() public method

public ReadSongChunk ( int channel ) : void
channel int
return void

ReadVec6Data() public method

public ReadVec6Data ( int x, int &offset, byte songFilePtr, int chanResID ) : void
x int
offset int
songFilePtr byte
chanResID int
return void

ReleaseChannel() public method

public ReleaseChannel ( int channel ) : void
channel int
return void

ReleaseResChannels() public method

public ReleaseResChannels ( int resIndex ) : void
resIndex int
return void

ReleaseResource() public method

public ReleaseResource ( int resIndex ) : void
resIndex int
return void

ReleaseResourceBySound() public method

public ReleaseResourceBySound ( int resID ) : void
resID int
return void

ReleaseResourceUnk() public method

public ReleaseResourceUnk ( int resIndex ) : void
resIndex int
return void

ReserveChannel() public method

public ReserveChannel ( int channel, byte prioValue, int chanResIndex ) : void
channel int
prioValue byte
chanResIndex int
return void

ResetFreqDelta() public method

public ResetFreqDelta ( int channel ) : void
channel int
return void

ResetPlayerState() public method

public ResetPlayerState ( ) : void
return void

ResetSID() public method

public ResetSID ( ) : void
return void

ResetSwapVars() public method

public ResetSwapVars ( ) : void
return void

SID_Write() public method

public SID_Write ( int reg, byte data ) : void
reg int
data byte
return void

SafeUnlockResource() public method

public SafeUnlockResource ( int resIndex ) : void
resIndex int
return void

SaveSongPos() public method

public SaveSongPos ( int y, int channel ) : void
y int
channel int
return void

SetMusicVolume() public method

public SetMusicVolume ( int vol ) : void
vol int
return void

SetSIDFreqAS() public method

Sets frequency, attack and sustain register.
public SetSIDFreqAS ( int channel ) : void
channel int Channel.
return void

SetSIDWaveCtrlReg() public method

public SetSIDWaveCtrlReg ( int channel ) : void
channel int
return void

StartSound() public method

public StartSound ( int nr ) : void
nr int
return void

StopAllSounds() public method

public StopAllSounds ( ) : void
return void

StopChannel() public method

public StopChannel ( int channel ) : void
channel int
return void

StopSound() public method

public StopSound ( int nr ) : void
nr int
return void

StopSound_intern() public method

public StopSound_intern ( int soundResID ) : void
soundResID int
return void

SwapVars() public method

public SwapVars ( int channel, int swapIndex ) : void
channel int
swapIndex int
return void

UnlockCodeLocation() public method

public UnlockCodeLocation ( ) : void
return void

UnlockResource() public method

public UnlockResource ( int chanResIndex ) : void
chanResIndex int
return void

Update() public method

public Update ( ) : void
return void

UpdateFreq() public method

public UpdateFreq ( int channel ) : void
channel int
return void

UseSwapVars() public method

public UseSwapVars ( int channel ) : void
channel int
return void