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

Inheritance: IMusicEngine
Afficher le fichier Open project: scemino/nscumm

Protected Properties

Свойство Type Description
_intf NScumm.Core.Audio.SoftSynth.TownsAudioInterface
_numSoundMax int
_pcmCurrentSound PcmCurrentSound[]
_vm ScummEngine

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode Description
CreatePcmCurrentSounds ( ) : PcmCurrentSound[]

Method Details

AllocatePcmChannel() protected méthode

protected AllocatePcmChannel ( int sound, int sfxChanRelIndex, uint priority ) : int
sound int
sfxChanRelIndex int
priority uint
Résultat int

DoCommand() public abstract méthode

public abstract DoCommand ( int numargs, int args ) : int
numargs int
args int
Résultat int

GetCurrentCdaSound() public méthode

public GetCurrentCdaSound ( ) : int
Résultat int

GetCurrentCdaVolume() public méthode

public GetCurrentCdaVolume ( ) : int
Résultat int

GetMusicTimer() public méthode

public GetMusicTimer ( ) : int
Résultat int

GetSoundStatus() public méthode

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

Init() public abstract méthode

public abstract Init ( ) : bool
Résultat bool

PlayPcmTrack() protected méthode

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
Résultat void

Player_Towns() protected méthode

protected Player_Towns ( ScummEngine vm, bool isVersion2 ) : System.Collections.Generic
vm ScummEngine
isVersion2 bool
Résultat System.Collections.Generic

RestoreAfterLoad() protected méthode

protected RestoreAfterLoad ( ) : void
Résultat void

SaveOrLoad() public méthode

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

SetMusicVolume() public abstract méthode

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

SetSfxVolume() public méthode

public SetSfxVolume ( int volume ) : void
volume int
Résultat void

SetSoundNote() public méthode

public SetSoundNote ( int sound, int note ) : void
sound int
note int
Résultat void

SetSoundVolume() public méthode

public SetSoundVolume ( int sound, int left, int right ) : void
sound int
left int
right int
Résultat void

SetVolumeCD() public méthode

public SetVolumeCD ( int left, int right ) : void
left int
right int
Résultat void

StartSound() public abstract méthode

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

StopAllSounds() public abstract méthode

public abstract StopAllSounds ( ) : void
Résultat void

StopPcmTrack() protected méthode

protected StopPcmTrack ( int sound ) : void
sound int
Résultat void

StopSound() public abstract méthode

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

Property Details

_intf protected_oe property

protected TownsAudioInterface,NScumm.Core.Audio.SoftSynth _intf
Résultat NScumm.Core.Audio.SoftSynth.TownsAudioInterface

_numSoundMax protected_oe property

protected int _numSoundMax
Résultat int

_pcmCurrentSound protected_oe property

protected PcmCurrentSound[] _pcmCurrentSound
Résultat PcmCurrentSound[]

_vm protected_oe property

protected ScummEngine _vm
Résultat ScummEngine