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

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

Public Methods

Method Description
GetMusicTimer ( ) : int
Player_V1 ( ScummEngine scumm, IMixer mixer, bool pcjr ) : System
StartSound ( int nr ) : void
StopAllSounds ( ) : void
StopSound ( int nr ) : void

Protected Methods

Method Description
ChainSound ( int nr, byte data ) : void
ClearChannel ( int i ) : void
GeneratePCjrSamples ( short data, int offset, int len ) : void
GenerateSpkSamples ( short data, int offset, int len ) : void
NextTick ( ) : void

Private Methods

Method Description
CreateChannels ( ) : channel_data_v1[]
NextPCjrCmd ( ) : void
NextSpeakerCmd ( ) : void
ParsePCjrChunk ( ) : void
ParseSpeakerChunk ( ) : void
SetMplex ( uint mplex ) : void

Method Details

ChainSound() protected method

protected ChainSound ( int nr, byte data ) : void
nr int
data byte
return void

ClearChannel() protected method

protected ClearChannel ( int i ) : void
i int
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

GetMusicTimer() public method

public GetMusicTimer ( ) : int
return int

NextTick() protected method

protected NextTick ( ) : void
return void

Player_V1() public method

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

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