C# 클래스 NScumm.Scumm.Audio.Players.Player_Mac

Scumm Macintosh music driver, base class.
상속: IMusicEngine, IAudioStream
파일 보기 프로젝트 열기: scemino/nscumm

공개 프로퍼티들

프로퍼티 타입 설명
RES_SND uint

보호된 프로퍼티들

프로퍼티 타입 설명
_channel Channel[]
_vm ScummEngine

Private Properties

프로퍼티 타입 설명
GetResSnd uint

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetResSnd ( ) : uint

메소드 상세

CheckMusicAvailable() 보호된 메소드

protected CheckMusicAvailable ( ) : bool
리턴 bool

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DurationToSamples() 보호된 메소드

protected DurationToSamples ( ushort duration ) : uint
duration ushort
리턴 uint

GetMusicTimer() 공개 메소드

public GetMusicTimer ( ) : int
리턴 int

GetNextNote() 보호된 메소드

protected GetNextNote ( int ch, uint &samples, int &pitchModifier, byte &velocity ) : bool
ch int
samples uint
pitchModifier int
velocity byte
리턴 bool

GetSoundStatus() 공개 메소드

public GetSoundStatus ( int nr ) : int
nr int
리턴 int

Init() 공개 메소드

public Init ( ) : void
리턴 void

LoadMusic() 보호된 메소드

protected LoadMusic ( byte ptr ) : bool
ptr byte
리턴 bool

NoteToPitchModifier() 보호된 메소드

protected NoteToPitchModifier ( byte note, Instrument instrument ) : int
note byte
instrument Instrument
리턴 int

Player_Mac() 공개 메소드

public Player_Mac ( ScummEngine scumm, IMixer mixer, int numberOfChannels, int channelMask, bool fadeNoteEnds ) : System
scumm ScummEngine
mixer IMixer
numberOfChannels int
channelMask int
fadeNoteEnds bool
리턴 System

ReadBuffer() 공개 메소드

public ReadBuffer ( short data, int count ) : int
data short
count int
리턴 int

SaveOrLoad() 공개 메소드

public SaveOrLoad ( Serializer ser ) : void
ser NScumm.Scumm.IO.Serializer
리턴 void

SetMusicVolume() 공개 메소드

public SetMusicVolume ( int vol ) : void
vol int
리턴 void

StartSound() 공개 메소드

public StartSound ( int nr ) : void
nr int
리턴 void

StopAllSounds() 공개 메소드

public StopAllSounds ( ) : void
리턴 void

StopAllSounds_Internal() 공개 메소드

public StopAllSounds_Internal ( ) : void
리턴 void

StopSound() 공개 메소드

public StopSound ( int nr ) : void
nr int
리턴 void

프로퍼티 상세

RES_SND 공개적으로 정적으로 프로퍼티

public static uint RES_SND
리턴 uint

_channel 보호되어 있는 프로퍼티

protected Channel[] _channel
리턴 Channel[]

_vm 보호되어 있는 프로퍼티

protected ScummEngine _vm
리턴 ScummEngine