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

Inheritance: IMusicEngine, IAudioStream
Afficher le fichier Open project: scemino/nscumm

Protected Properties

Свойство 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

Méthodes publiques

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

Méthodes protégées

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

Méthode Description
CreateChannels ( ) : ChannelInfo[]

Method Details

ChainNextSound() protected méthode

protected ChainNextSound ( ) : void
Résultat void

ChainSound() protected méthode

protected ChainSound ( int nr, byte data ) : void
nr int
data byte
Résultat void

CheckStopped() protected méthode

protected CheckStopped ( ) : void
Résultat void

ClearChannel() protected méthode

protected ClearChannel ( int i ) : void
i int
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ExecuteCmd() protected méthode

protected ExecuteCmd ( ChannelInfo channel ) : void
channel ChannelInfo
Résultat void

GetMusicTimer() public méthode

public GetMusicTimer ( ) : int
Résultat int

GetSoundStatus() public abstract méthode

public abstract GetSoundStatus ( int sound ) : int
sound int
Résultat int

NextFreqs() protected méthode

protected NextFreqs ( ChannelInfo channel ) : void
channel ChannelInfo
Résultat void

NextTick() protected méthode

protected NextTick ( ) : void
Résultat void

Player_V2Base() protected méthode

protected Player_V2Base ( ScummEngine scumm, IMixer mixer, bool pcjr ) : System
scumm ScummEngine
mixer IMixer
pcjr bool
Résultat System

ReadBuffer() public abstract méthode

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

SaveOrLoad() public méthode

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

SetMusicVolume() public abstract méthode

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

StartSound() public abstract méthode

public abstract StartSound ( int sound ) : void
sound int
Résultat void

StopAllSounds() public abstract méthode

public abstract StopAllSounds ( ) : void
Résultat void

StopSound() public abstract méthode

public abstract StopSound ( int sound ) : void
sound int
Résultat void

Property Details

_channels protected_oe property

protected ChannelInfo[] _channels
Résultat ChannelInfo[]

_current_data protected_oe property

protected byte[] _current_data
Résultat byte[]

_current_nr protected_oe property

protected int _current_nr
Résultat int

_header_len protected_oe property

protected int _header_len
Résultat int

_mixer protected_oe property

protected IMixer _mixer
Résultat IMixer

_mutex protected_oe property

protected object _mutex
Résultat object

_next_data protected_oe property

protected byte[] _next_data
Résultat byte[]

_next_nr protected_oe property

protected int _next_nr
Résultat int

_next_tick protected_oe property

protected uint _next_tick
Résultat uint

_pcjr protected_oe property

protected bool _pcjr
Résultat bool

_sampleRate protected_oe property

protected int _sampleRate
Résultat int

_soundHandle protected_oe property

protected SoundHandle,NScumm.Core.Audio _soundHandle
Résultat NScumm.Core.Audio.SoundHandle

_tick_len protected_oe property

protected uint _tick_len
Résultat uint

_vm protected_oe property

protected ScummEngine _vm
Résultat ScummEngine