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

Inheritance: IMusicEngine, IAudioStream
Exibir arquivo Open project: scemino/nscumm

Protected Properties

Property Type Description
_channels ChannelInfo[]
_current_data byte[]
_current_nr int
_header_len int
_mixer IMixer
_mutex object
_next_data byte[]
_next_nr int
_next_tick uint
_pcjr bool
_sampleRate int
_soundHandle NScumm.Core.Audio.SoundHandle
_tick_len uint
_vm ScummEngine

Public Methods

Method Description
Dispose ( ) : void
GetMusicTimer ( ) : int
GetSoundStatus ( int sound ) : int
ReadBuffer ( short buffer, int count ) : int
SaveOrLoad ( Serializer serializer ) : void

Save or load the music state.

SetMusicVolume ( int vol ) : void
StartSound ( int sound ) : void
StopAllSounds ( ) : void
StopSound ( int sound ) : void

Protected Methods

Method Description
ChainNextSound ( ) : void
ChainSound ( int nr, byte data ) : void
CheckStopped ( ) : void
ClearChannel ( int i ) : void
ExecuteCmd ( ChannelInfo channel ) : void
NextFreqs ( ChannelInfo channel ) : void
NextTick ( ) : void
Player_V2Base ( ScummEngine scumm, IMixer mixer, bool pcjr ) : System

Private Methods

Method Description
CreateChannels ( ) : ChannelInfo[]

Method Details

ChainNextSound() protected method

protected ChainNextSound ( ) : void
return void

ChainSound() protected method

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

CheckStopped() protected method

protected CheckStopped ( ) : void
return void

ClearChannel() protected method

protected ClearChannel ( int i ) : void
i int
return void

Dispose() public method

public Dispose ( ) : void
return void

ExecuteCmd() protected method

protected ExecuteCmd ( ChannelInfo channel ) : void
channel ChannelInfo
return void

GetMusicTimer() public method

public GetMusicTimer ( ) : int
return int

GetSoundStatus() public abstract method

public abstract GetSoundStatus ( int sound ) : int
sound int
return int

NextFreqs() protected method

protected NextFreqs ( ChannelInfo channel ) : void
channel ChannelInfo
return void

NextTick() protected method

protected NextTick ( ) : void
return void

Player_V2Base() protected method

protected Player_V2Base ( ScummEngine scumm, IMixer mixer, bool pcjr ) : System
scumm ScummEngine
mixer IMixer
pcjr bool
return System

ReadBuffer() public abstract method

public abstract ReadBuffer ( short buffer, int count ) : int
buffer short
count int
return int

SaveOrLoad() public method

Save or load the music state.
public SaveOrLoad ( Serializer serializer ) : void
serializer NScumm.Scumm.IO.Serializer Serializer.
return void

SetMusicVolume() public abstract method

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

StartSound() public abstract method

public abstract StartSound ( int sound ) : void
sound int
return void

StopAllSounds() public abstract method

public abstract StopAllSounds ( ) : void
return void

StopSound() public abstract method

public abstract StopSound ( int sound ) : void
sound int
return void

Property Details

_channels protected_oe property

protected ChannelInfo[] _channels
return ChannelInfo[]

_current_data protected_oe property

protected byte[] _current_data
return byte[]

_current_nr protected_oe property

protected int _current_nr
return int

_header_len protected_oe property

protected int _header_len
return int

_mixer protected_oe property

protected IMixer _mixer
return IMixer

_mutex protected_oe property

protected object _mutex
return object

_next_data protected_oe property

protected byte[] _next_data
return byte[]

_next_nr protected_oe property

protected int _next_nr
return int

_next_tick protected_oe property

protected uint _next_tick
return uint

_pcjr protected_oe property

protected bool _pcjr
return bool

_sampleRate protected_oe property

protected int _sampleRate
return int

_soundHandle protected_oe property

protected SoundHandle,NScumm.Core.Audio _soundHandle
return NScumm.Core.Audio.SoundHandle

_tick_len protected_oe property

protected uint _tick_len
return uint

_vm protected_oe property

protected ScummEngine _vm
return ScummEngine