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

Scumm V2 CMS/Gameblaster MIDI driver.
Inheritance: Player_V2Base
Afficher le fichier Open project: scemino/nscumm Class Usage Examples

Méthodes publiques

Méthode Description
ClearNote ( byte data, int &offset ) : void
GetMusicTimer ( ) : int
GetSoundStatus ( int nr ) : int
LoadMidiData ( byte data, int sound ) : void
OffAllChannels ( ) : void
Play ( ) : void
PlayMusicChips ( ) : void
PlayNote ( byte data, int &offset ) : void
PlayVoice ( ) : void
Player_V2CMS ( ScummEngine scumm, IMixer mixer ) : System
ProcessAttack ( Voice2 channel ) : void
ProcessChannel ( Voice2 channel ) : void
ProcessDecay ( Voice2 channel ) : void
ProcessMidiData ( ) : void
ProcessRelease ( Voice2 channel ) : void
ProcessSustain ( Voice2 channel ) : void
ProcessVibrato ( Voice2 channel ) : void
ReadBuffer ( short buffer, int count ) : int
SetMusicVolume ( int vol ) : void
StartSound ( int nr ) : void
StopAllSounds ( ) : void
StopSound ( int nr ) : void

Private Methods

Méthode Description
CreateMusicChips ( ) : MusicChip[]
CreateVoices ( ) : Voice2[]
CreateVoicesBase ( ) : NScumm.Core.Audio.SoftSynth.Voice[]
GetFreeVoice ( ) : Voice2
GetPlayVoice ( byte param ) : Voice2

Method Details

ClearNote() public méthode

public ClearNote ( byte data, int &offset ) : void
data byte
offset int
Résultat void

GetMusicTimer() public méthode

public GetMusicTimer ( ) : int
Résultat int

GetSoundStatus() public méthode

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

LoadMidiData() public méthode

public LoadMidiData ( byte data, int sound ) : void
data byte
sound int
Résultat void

OffAllChannels() public méthode

public OffAllChannels ( ) : void
Résultat void

Play() public méthode

public Play ( ) : void
Résultat void

PlayMusicChips() public méthode

public PlayMusicChips ( ) : void
Résultat void

PlayNote() public méthode

public PlayNote ( byte data, int &offset ) : void
data byte
offset int
Résultat void

PlayVoice() public méthode

public PlayVoice ( ) : void
Résultat void

Player_V2CMS() public méthode

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

ProcessAttack() public méthode

public ProcessAttack ( Voice2 channel ) : void
channel Voice2
Résultat void

ProcessChannel() public méthode

public ProcessChannel ( Voice2 channel ) : void
channel Voice2
Résultat void

ProcessDecay() public méthode

public ProcessDecay ( Voice2 channel ) : void
channel Voice2
Résultat void

ProcessMidiData() public méthode

public ProcessMidiData ( ) : void
Résultat void

ProcessRelease() public méthode

public ProcessRelease ( Voice2 channel ) : void
channel Voice2
Résultat void

ProcessSustain() public méthode

public ProcessSustain ( Voice2 channel ) : void
channel Voice2
Résultat void

ProcessVibrato() public méthode

public ProcessVibrato ( Voice2 channel ) : void
channel Voice2
Résultat void

ReadBuffer() public méthode

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

SetMusicVolume() public méthode

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

StartSound() public méthode

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

StopAllSounds() public méthode

public StopAllSounds ( ) : void
Résultat void

StopSound() public méthode

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