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

Inheritance: IAudioStream, IMusicEngine
Afficher le fichier Open project: scemino/nscumm Class Usage Examples

Méthodes publiques

Méthode Description
ClearChannel ( Channel channel ) : void
Dispose ( ) : void
FreeHWChannel ( int channel ) : void
FreeVoiceChannel ( int channel ) : void
GetMusicTimer ( ) : int
GetSoundStatus ( int sound ) : int
LimitHWChannels ( int newCount ) : void
MusicSeekTo ( uint position ) : void
NoteOff ( int channel ) : void
NoteOffOn ( int channel ) : void
ParseNote ( Note note, Channel channel, int offset ) : void
ParseSlot ( Channel channel ) : void
Player_AD ( ScummEngine scumm, IMixer mixer ) : System
ReadBuffer ( short buffer, int len ) : int
SaveOrLoad ( Serializer ser ) : void
SetMusicVolume ( int vol ) : void
SetupChannel ( int channel, byte musicData, int instrOffset ) : void
SetupFrequency ( int channel, sbyte frequency ) : void
SetupNoteEnvelopeState ( Note note, int steps, int adjust ) : void
SetupOperator ( int opr, byte musicData, int &instrOffset ) : void
SetupRhythm ( uint rhythmInstr, int instrOffset ) : void
SetupVolume ( ) : void
StartMusic ( ) : void
StartSound ( int sound ) : void
StopAllSounds ( ) : void
StopMusic ( ) : void
StopSfx ( SfxSlot sfx ) : void
StopSound ( int sound ) : void
UpdateChannel ( Channel channel ) : void
UpdateMusic ( ) : void
UpdateSfx ( ) : void
UpdateSlot ( Channel channel ) : void
WriteReg ( int r, int v ) : void
WriteRegisterSpecial ( int channel, byte value, int offset ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
AllocateHWChannel ( int priority, SfxSlot owner = null ) : int
AllocateSfxSlot ( int priority ) : SfxSlot
GetRnd ( ) : byte
ParseCommand ( ) : bool
ParseVLQ ( ) : uint
ProcessNote ( Note note, Channel channel, int offset ) : bool
ProcessNoteEnvelope ( Note note ) : bool
ReadReg ( int r ) : byte
ReadRegisterSpecial ( int channel, byte defaultValue, int offset ) : byte
StartSfx ( SfxSlot sfx, byte resource ) : bool

Method Details

ClearChannel() public méthode

public ClearChannel ( Channel channel ) : void
channel Channel
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

FreeHWChannel() public méthode

public FreeHWChannel ( int channel ) : void
channel int
Résultat void

FreeVoiceChannel() public méthode

public FreeVoiceChannel ( int channel ) : void
channel int
Résultat void

GetMusicTimer() public méthode

public GetMusicTimer ( ) : int
Résultat int

GetSoundStatus() public méthode

public GetSoundStatus ( int sound ) : int
sound int
Résultat int

LimitHWChannels() public méthode

public LimitHWChannels ( int newCount ) : void
newCount int
Résultat void

MusicSeekTo() public méthode

public MusicSeekTo ( uint position ) : void
position uint
Résultat void

NoteOff() public méthode

public NoteOff ( int channel ) : void
channel int
Résultat void

NoteOffOn() public méthode

public NoteOffOn ( int channel ) : void
channel int
Résultat void

ParseNote() public méthode

public ParseNote ( Note note, Channel channel, int offset ) : void
note Note
channel Channel
offset int
Résultat void

ParseSlot() public méthode

public ParseSlot ( Channel channel ) : void
channel Channel
Résultat void

Player_AD() public méthode

public Player_AD ( ScummEngine scumm, IMixer mixer ) : System
scumm ScummEngine
mixer IMixer
Résultat System

ReadBuffer() public méthode

public ReadBuffer ( short buffer, int len ) : int
buffer short
len int
Résultat int

SaveOrLoad() public méthode

public SaveOrLoad ( Serializer ser ) : void
ser NScumm.Scumm.IO.Serializer
Résultat void

SetMusicVolume() public méthode

public SetMusicVolume ( int vol ) : void
vol int
Résultat void

SetupChannel() public méthode

public SetupChannel ( int channel, byte musicData, int instrOffset ) : void
channel int
musicData byte
instrOffset int
Résultat void

SetupFrequency() public méthode

public SetupFrequency ( int channel, sbyte frequency ) : void
channel int
frequency sbyte
Résultat void

SetupNoteEnvelopeState() public méthode

public SetupNoteEnvelopeState ( Note note, int steps, int adjust ) : void
note Note
steps int
adjust int
Résultat void

SetupOperator() public méthode

public SetupOperator ( int opr, byte musicData, int &instrOffset ) : void
opr int
musicData byte
instrOffset int
Résultat void

SetupRhythm() public méthode

public SetupRhythm ( uint rhythmInstr, int instrOffset ) : void
rhythmInstr uint
instrOffset int
Résultat void

SetupVolume() public méthode

public SetupVolume ( ) : void
Résultat void

StartMusic() public méthode

public StartMusic ( ) : void
Résultat void

StartSound() public méthode

public StartSound ( int sound ) : void
sound int
Résultat void

StopAllSounds() public méthode

public StopAllSounds ( ) : void
Résultat void

StopMusic() public méthode

public StopMusic ( ) : void
Résultat void

StopSfx() public méthode

public StopSfx ( SfxSlot sfx ) : void
sfx SfxSlot
Résultat void

StopSound() public méthode

public StopSound ( int sound ) : void
sound int
Résultat void

UpdateChannel() public méthode

public UpdateChannel ( Channel channel ) : void
channel Channel
Résultat void

UpdateMusic() public méthode

public UpdateMusic ( ) : void
Résultat void

UpdateSfx() public méthode

public UpdateSfx ( ) : void
Résultat void

UpdateSlot() public méthode

public UpdateSlot ( Channel channel ) : void
channel Channel
Résultat void

WriteReg() public méthode

public WriteReg ( int r, int v ) : void
r int
v int
Résultat void

WriteRegisterSpecial() public méthode

public WriteRegisterSpecial ( int channel, byte value, int offset ) : void
channel int
value byte
offset int
Résultat void