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

Inheritance: Player_V2Base
Mostrar archivo Open project: scemino/nscumm Class Usage Examples

Protected Properties

Property Type Description
_level int
_timer_count int[]
_timer_output int
_volumetable uint[]

Public Methods

Method Description
Dispose ( ) : void
GetSoundStatus ( int nr ) : int
Player_V2 ( ScummEngine scumm, IMixer mixer, bool pcjr ) : System
ReadBuffer ( short data, int count ) : int
SetMusicVolume ( int vol ) : void
StartSound ( int nr ) : void
StopAllSounds ( ) : void
StopSound ( int nr ) : void

Protected Methods

Method Description
GeneratePCjrSamples ( short data, int offset, int len ) : void
GenerateSpkSamples ( short data, int offset, int len ) : void
LowPassFilter ( short sample, int offset, int len ) : void
SquareGenerator ( int channel, int freq, int vol, int noiseFeedback, short sample, int offset, int len ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GeneratePCjrSamples() protected method

protected GeneratePCjrSamples ( short data, int offset, int len ) : void
data short
offset int
len int
return void

GenerateSpkSamples() protected method

protected GenerateSpkSamples ( short data, int offset, int len ) : void
data short
offset int
len int
return void

GetSoundStatus() public method

public GetSoundStatus ( int nr ) : int
nr int
return int

LowPassFilter() protected method

protected LowPassFilter ( short sample, int offset, int len ) : void
sample short
offset int
len int
return void

Player_V2() public method

public Player_V2 ( ScummEngine scumm, IMixer mixer, bool pcjr ) : System
scumm ScummEngine
mixer IMixer
pcjr bool
return System

ReadBuffer() public method

public ReadBuffer ( short data, int count ) : int
data short
count int
return int

SetMusicVolume() public method

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

SquareGenerator() protected method

protected SquareGenerator ( int channel, int freq, int vol, int noiseFeedback, short sample, int offset, int len ) : void
channel int
freq int
vol int
noiseFeedback int
sample short
offset int
len int
return void

StartSound() public method

public StartSound ( int nr ) : void
nr int
return void

StopAllSounds() public method

public StopAllSounds ( ) : void
return void

StopSound() public method

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

Property Details

_level protected_oe property

protected int _level
return int

_timer_count protected_oe property

protected int[] _timer_count
return int[]

_timer_output protected_oe property

protected int _timer_output
return int

_volumetable protected_oe property

protected uint[] _volumetable
return uint[]