C# Class NScumm.Scumm.Audio.IMuse.IMuseDigital.IMuseDigital

Show file Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
Callback ( ) : void
FlushTrack ( Track track ) : void
FlushTracks ( ) : void
GetCurMusicLipSyncHeight ( int syncId ) : int
GetCurMusicLipSyncWidth ( int syncId ) : int
GetCurMusicPosInMs ( ) : int
GetCurVoiceLipSyncHeight ( ) : int
GetCurVoiceLipSyncWidth ( ) : int
GetLipSync ( int soundId, int syncId, int msPos, int &width, int &height ) : void
GetSoundStatus ( int soundId ) : int
IMuseDigital ( ScummEngine7 scumm, IMixer mixer, int fps ) : System
IMusicEngine ( int vol ) : void
ParseScriptCmds ( int cmd, int b, int c, int d, int e, int f, int g, int h ) : void
Pause ( bool p ) : void
RefreshScripts ( ) : void
ResetState ( ) : void
SaveOrLoad ( Serializer serializer ) : void
SetAudioNames ( string names ) : void
SetPan ( int soundId, int pan ) : void
SetPriority ( int soundId, int priority ) : void
SetVolume ( int soundId, int volume ) : void
StartMusic ( int soundId, int volume ) : void
StartMusic ( string soundName, int soundId, int hookId, int volume ) : void
StartMusicWithOtherPos ( string soundName, int soundId, int hookId, int volume, Track otherTrack ) : void
StartSfx ( int soundId, int priority ) : void
StartVoice ( int soundId, IAudioStream input ) : void
StartVoice ( int soundId, string soundName ) : void
StopAllSounds ( ) : void
StopSound ( int soundId ) : void
SwitchToNextRegion ( Track track ) : void

Private Methods

Method Description
AllocSlot ( int priority ) : int
CloneToFadeOutTrack ( Track track, int fadeDelay ) : Track
FadeOutMusic ( int fadeDelay ) : void
FadeOutMusicAndStartNew ( int fadeDelay, string filename, int soundId ) : void
GetCurMusicSoundId ( ) : int
GetPosInMs ( int soundId ) : int
GetSoundIdByName ( string soundName ) : int
IMusicEngine ( ) : int
MakeMixerFlags ( Track track ) : AudioFlags
PlayComiMusic ( string songName, ImuseComiTable table, int attribPos, bool sequence ) : void
PlayDigMusic ( string songName, ImuseDigTable table, int attribPos, bool sequence ) : void
PlayFtMusic ( string songName, int opcode, int volume ) : void
SelectVolumeGroup ( int soundId, int volGroupId ) : void
SetComiMusicSequence ( int seqId ) : void
SetComiMusicState ( int stateId ) : void
SetDigMusicSequence ( int seqId ) : void
SetDigMusicState ( int stateId ) : void
SetFade ( int soundId, int destVolume, int delay60HzTicks ) : void
SetFtMusicCuePoint ( int cueId ) : void
SetFtMusicSequence ( int seqId ) : void
SetFtMusicState ( int stateId ) : void
SetHookId ( int soundId, int hookId ) : void
SetHookIdForMusic ( int hookId ) : void
SetTrigger ( TriggerParams trigger ) : void
StartSound ( int soundId, string soundName, int soundType, int volGroupId, IAudioStream input, int hookId, int volume, int priority, Track otherTrack ) : void

Method Details

Callback() public method

public Callback ( ) : void
return void

FlushTrack() public method

public FlushTrack ( Track track ) : void
track Track
return void

FlushTracks() public method

public FlushTracks ( ) : void
return void

GetCurMusicLipSyncHeight() public method

public GetCurMusicLipSyncHeight ( int syncId ) : int
syncId int
return int

GetCurMusicLipSyncWidth() public method

public GetCurMusicLipSyncWidth ( int syncId ) : int
syncId int
return int

GetCurMusicPosInMs() public method

public GetCurMusicPosInMs ( ) : int
return int

GetCurVoiceLipSyncHeight() public method

public GetCurVoiceLipSyncHeight ( ) : int
return int

GetCurVoiceLipSyncWidth() public method

public GetCurVoiceLipSyncWidth ( ) : int
return int

GetLipSync() public method

public GetLipSync ( int soundId, int syncId, int msPos, int &width, int &height ) : void
soundId int
syncId int
msPos int
width int
height int
return void

GetSoundStatus() public method

public GetSoundStatus ( int soundId ) : int
soundId int
return int

IMuseDigital() public method

public IMuseDigital ( ScummEngine7 scumm, IMixer mixer, int fps ) : System
scumm ScummEngine7
mixer IMixer
fps int
return System

IMusicEngine() public method

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

ParseScriptCmds() public method

public ParseScriptCmds ( int cmd, int b, int c, int d, int e, int f, int g, int h ) : void
cmd int
b int
c int
d int
e int
f int
g int
h int
return void

Pause() public method

public Pause ( bool p ) : void
p bool
return void

RefreshScripts() public method

public RefreshScripts ( ) : void
return void

ResetState() public method

public ResetState ( ) : void
return void

SaveOrLoad() public method

public SaveOrLoad ( Serializer serializer ) : void
serializer Serializer
return void

SetAudioNames() public method

public SetAudioNames ( string names ) : void
names string
return void

SetPan() public method

public SetPan ( int soundId, int pan ) : void
soundId int
pan int
return void

SetPriority() public method

public SetPriority ( int soundId, int priority ) : void
soundId int
priority int
return void

SetVolume() public method

public SetVolume ( int soundId, int volume ) : void
soundId int
volume int
return void

StartMusic() public method

public StartMusic ( int soundId, int volume ) : void
soundId int
volume int
return void

StartMusic() public method

public StartMusic ( string soundName, int soundId, int hookId, int volume ) : void
soundName string
soundId int
hookId int
volume int
return void

StartMusicWithOtherPos() public method

public StartMusicWithOtherPos ( string soundName, int soundId, int hookId, int volume, Track otherTrack ) : void
soundName string
soundId int
hookId int
volume int
otherTrack Track
return void

StartSfx() public method

public StartSfx ( int soundId, int priority ) : void
soundId int
priority int
return void

StartVoice() public method

public StartVoice ( int soundId, IAudioStream input ) : void
soundId int
input IAudioStream
return void

StartVoice() public method

public StartVoice ( int soundId, string soundName ) : void
soundId int
soundName string
return void

StopAllSounds() public method

public StopAllSounds ( ) : void
return void

StopSound() public method

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

SwitchToNextRegion() public method

public SwitchToNextRegion ( Track track ) : void
track Track
return void