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

Inheritance: Player_V2Base
Afficher le fichier Open project: scemino/nscumm Class Usage Examples

Protected Properties

Свойство Type Description
_level int
_timer_count int[]
_timer_output int
_volumetable uint[]

Méthodes publiques

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

Méthodes protégées

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

public Dispose ( ) : void
Résultat void

GeneratePCjrSamples() protected méthode

protected GeneratePCjrSamples ( short data, int offset, int len ) : void
data short
offset int
len int
Résultat void

GenerateSpkSamples() protected méthode

protected GenerateSpkSamples ( short data, int offset, int len ) : void
data short
offset int
len int
Résultat void

GetSoundStatus() public méthode

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

LowPassFilter() protected méthode

protected LowPassFilter ( short sample, int offset, int len ) : void
sample short
offset int
len int
Résultat void

Player_V2() public méthode

public Player_V2 ( ScummEngine scumm, IMixer mixer, bool pcjr ) : System
scumm ScummEngine
mixer IMixer
pcjr bool
Résultat System

ReadBuffer() public méthode

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

SetMusicVolume() public méthode

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

SquareGenerator() protected méthode

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
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

Property Details

_level protected_oe property

protected int _level
Résultat int

_timer_count protected_oe property

protected int[] _timer_count
Résultat int[]

_timer_output protected_oe property

protected int _timer_output
Résultat int

_volumetable protected_oe property

protected uint[] _volumetable
Résultat uint[]