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

Inheritance: IMusicEngine
Exibir arquivo Open project: scemino/nscumm

Protected Properties

Property Type Description
_intf NScumm.Core.Audio.SoftSynth.TownsAudioInterface
_numSoundMax int
_pcmCurrentSound PcmCurrentSound[]
_vm ScummEngine

Public Methods

Method Description
DoCommand ( int numargs, int args ) : int
GetCurrentCdaSound ( ) : int
GetCurrentCdaVolume ( ) : int
GetMusicTimer ( ) : int
GetSoundStatus ( int sound ) : int
Init ( ) : bool
SaveOrLoad ( Serializer ser ) : void
SetMusicVolume ( int vol ) : void
SetSfxVolume ( int volume ) : void
SetSoundNote ( int sound, int note ) : void
SetSoundVolume ( int sound, int left, int right ) : void
SetVolumeCD ( int left, int right ) : void
StartSound ( int sound ) : void
StopAllSounds ( ) : void
StopSound ( int sound ) : void

Protected Methods

Method Description
AllocatePcmChannel ( int sound, int sfxChanRelIndex, uint priority ) : int
PlayPcmTrack ( int sound, byte data, int offset, int velo, int pan, int note, int priority ) : void
Player_Towns ( ScummEngine vm, bool isVersion2 ) : System.Collections.Generic
RestoreAfterLoad ( ) : void
StopPcmTrack ( int sound ) : void

Private Methods

Method Description
CreatePcmCurrentSounds ( ) : PcmCurrentSound[]

Method Details

AllocatePcmChannel() protected method

protected AllocatePcmChannel ( int sound, int sfxChanRelIndex, uint priority ) : int
sound int
sfxChanRelIndex int
priority uint
return int

DoCommand() public abstract method

public abstract DoCommand ( int numargs, int args ) : int
numargs int
args int
return int

GetCurrentCdaSound() public method

public GetCurrentCdaSound ( ) : int
return int

GetCurrentCdaVolume() public method

public GetCurrentCdaVolume ( ) : int
return int

GetMusicTimer() public method

public GetMusicTimer ( ) : int
return int

GetSoundStatus() public method

public GetSoundStatus ( int sound ) : int
sound int
return int

Init() public abstract method

public abstract Init ( ) : bool
return bool

PlayPcmTrack() protected method

protected PlayPcmTrack ( int sound, byte data, int offset, int velo, int pan, int note, int priority ) : void
sound int
data byte
offset int
velo int
pan int
note int
priority int
return void

Player_Towns() protected method

protected Player_Towns ( ScummEngine vm, bool isVersion2 ) : System.Collections.Generic
vm ScummEngine
isVersion2 bool
return System.Collections.Generic

RestoreAfterLoad() protected method

protected RestoreAfterLoad ( ) : void
return void

SaveOrLoad() public method

public SaveOrLoad ( Serializer ser ) : void
ser NScumm.Scumm.IO.Serializer
return void

SetMusicVolume() public abstract method

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

SetSfxVolume() public method

public SetSfxVolume ( int volume ) : void
volume int
return void

SetSoundNote() public method

public SetSoundNote ( int sound, int note ) : void
sound int
note int
return void

SetSoundVolume() public method

public SetSoundVolume ( int sound, int left, int right ) : void
sound int
left int
right int
return void

SetVolumeCD() public method

public SetVolumeCD ( int left, int right ) : void
left int
right int
return void

StartSound() public abstract method

public abstract StartSound ( int sound ) : void
sound int
return void

StopAllSounds() public abstract method

public abstract StopAllSounds ( ) : void
return void

StopPcmTrack() protected method

protected StopPcmTrack ( int sound ) : void
sound int
return void

StopSound() public abstract method

public abstract StopSound ( int sound ) : void
sound int
return void

Property Details

_intf protected_oe property

protected TownsAudioInterface,NScumm.Core.Audio.SoftSynth _intf
return NScumm.Core.Audio.SoftSynth.TownsAudioInterface

_numSoundMax protected_oe property

protected int _numSoundMax
return int

_pcmCurrentSound protected_oe property

protected PcmCurrentSound[] _pcmCurrentSound
return PcmCurrentSound[]

_vm protected_oe property

protected ScummEngine _vm
return ScummEngine