C# Class NScumm.Sword1.Sound

ファイルを表示 Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
AddToQueue ( int fxNo ) : uint
AmISpeaking ( ) : bool
CheckSpeechFileEndianness ( ) : void
CloseCowSystem ( ) : void
Engine ( ) : void
FnStopFx ( int fxNo ) : void
GiveSfxVol ( byte &volL, byte &volR ) : void
GiveSpeechVol ( byte &volL, byte &volR ) : void
NewScreen ( uint screen ) : void
QuitScreen ( ) : void
SetSfxVol ( byte volL, byte volR ) : void
SetSpeechVol ( byte volL, byte volR ) : void
Sound ( GameSettings settings, Mixer mixer, ResMan resMan ) : System
SpeechFinished ( ) : bool
StartSpeech ( ushort roomNo, ushort localNo ) : bool
StopSpeech ( ) : void

Private Methods

Method Description
CalcWaveVolume ( UShortAccess data, int length ) : void
EndiannessHeuristicValue ( UShortAccess data, uint dataSize, uint &maxSamples ) : double
GetSampleId ( int fxNo ) : uint
InitCowSystem ( ) : void
PlaySample ( QueueElement elem ) : void
TryToOpen ( string filename ) : BinaryReader
UncompressSpeech ( uint index, uint cSize, uint &size ) : UShortAccess

Method Details

AddToQueue() public method

public AddToQueue ( int fxNo ) : uint
fxNo int
return uint

AmISpeaking() public method

public AmISpeaking ( ) : bool
return bool

CheckSpeechFileEndianness() public method

public CheckSpeechFileEndianness ( ) : void
return void

CloseCowSystem() public method

public CloseCowSystem ( ) : void
return void

Engine() public method

public Engine ( ) : void
return void

FnStopFx() public method

public FnStopFx ( int fxNo ) : void
fxNo int
return void

GiveSfxVol() public method

public GiveSfxVol ( byte &volL, byte &volR ) : void
volL byte
volR byte
return void

GiveSpeechVol() public method

public GiveSpeechVol ( byte &volL, byte &volR ) : void
volL byte
volR byte
return void

NewScreen() public method

public NewScreen ( uint screen ) : void
screen uint
return void

QuitScreen() public method

public QuitScreen ( ) : void
return void

SetSfxVol() public method

public SetSfxVol ( byte volL, byte volR ) : void
volL byte
volR byte
return void

SetSpeechVol() public method

public SetSpeechVol ( byte volL, byte volR ) : void
volL byte
volR byte
return void

Sound() public method

public Sound ( GameSettings settings, Mixer mixer, ResMan resMan ) : System
settings GameSettings
mixer Mixer
resMan ResMan
return System

SpeechFinished() public method

public SpeechFinished ( ) : bool
return bool

StartSpeech() public method

public StartSpeech ( ushort roomNo, ushort localNo ) : bool
roomNo ushort
localNo ushort
return bool

StopSpeech() public method

public StopSpeech ( ) : void
return void