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

Scumm Macintosh music driver, base class.
Inheritance: IMusicEngine, IAudioStream
Afficher le fichier Open project: scemino/nscumm

Méthodes publiques

Свойство Type Description
RES_SND uint

Protected Properties

Свойство Type Description
_channel Channel[]
_vm ScummEngine

Private Properties

Свойство Type Description
GetResSnd uint

Méthodes publiques

Méthode Description
Dispose ( ) : void
GetMusicTimer ( ) : int
GetSoundStatus ( int nr ) : int
Init ( ) : void
Player_Mac ( ScummEngine scumm, IMixer mixer, int numberOfChannels, int channelMask, bool fadeNoteEnds ) : System
ReadBuffer ( short data, int count ) : int
SaveOrLoad ( Serializer ser ) : void
SetMusicVolume ( int vol ) : void
StartSound ( int nr ) : void
StopAllSounds ( ) : void
StopAllSounds_Internal ( ) : void
StopSound ( int nr ) : void

Méthodes protégées

Méthode Description
CheckMusicAvailable ( ) : bool
DurationToSamples ( ushort duration ) : uint
GetNextNote ( int ch, uint &samples, int &pitchModifier, byte &velocity ) : bool
LoadMusic ( byte ptr ) : bool
NoteToPitchModifier ( byte note, Instrument instrument ) : int

Private Methods

Méthode Description
GetResSnd ( ) : uint

Method Details

CheckMusicAvailable() protected méthode

protected CheckMusicAvailable ( ) : bool
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

DurationToSamples() protected méthode

protected DurationToSamples ( ushort duration ) : uint
duration ushort
Résultat uint

GetMusicTimer() public méthode

public GetMusicTimer ( ) : int
Résultat int

GetNextNote() protected méthode

protected GetNextNote ( int ch, uint &samples, int &pitchModifier, byte &velocity ) : bool
ch int
samples uint
pitchModifier int
velocity byte
Résultat bool

GetSoundStatus() public méthode

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

Init() public méthode

public Init ( ) : void
Résultat void

LoadMusic() protected méthode

protected LoadMusic ( byte ptr ) : bool
ptr byte
Résultat bool

NoteToPitchModifier() protected méthode

protected NoteToPitchModifier ( byte note, Instrument instrument ) : int
note byte
instrument Instrument
Résultat int

Player_Mac() public méthode

public Player_Mac ( ScummEngine scumm, IMixer mixer, int numberOfChannels, int channelMask, bool fadeNoteEnds ) : System
scumm ScummEngine
mixer IMixer
numberOfChannels int
channelMask int
fadeNoteEnds bool
Résultat System

ReadBuffer() public méthode

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

SaveOrLoad() public méthode

public SaveOrLoad ( Serializer ser ) : void
ser NScumm.Scumm.IO.Serializer
Résultat void

SetMusicVolume() public méthode

public SetMusicVolume ( int vol ) : void
vol 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

StopAllSounds_Internal() public méthode

public StopAllSounds_Internal ( ) : void
Résultat void

StopSound() public méthode

public StopSound ( int nr ) : void
nr int
Résultat void

Property Details

RES_SND public_oe static_oe property

public static uint RES_SND
Résultat uint

_channel protected_oe property

protected Channel[] _channel
Résultat Channel[]

_vm protected_oe property

protected ScummEngine _vm
Résultat ScummEngine