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

상속: IAudioStream, IMusicEngine
파일 보기 프로젝트 열기: scemino/nscumm 1 사용 예제들

공개 메소드들

메소드 설명
ClearChannel ( Channel channel ) : void
Dispose ( ) : void
FreeHWChannel ( int channel ) : void
FreeVoiceChannel ( int channel ) : void
GetMusicTimer ( ) : int
GetSoundStatus ( int sound ) : int
LimitHWChannels ( int newCount ) : void
MusicSeekTo ( uint position ) : void
NoteOff ( int channel ) : void
NoteOffOn ( int channel ) : void
ParseNote ( Note note, Channel channel, int offset ) : void
ParseSlot ( Channel channel ) : void
Player_AD ( ScummEngine scumm, IMixer mixer ) : System
ReadBuffer ( short buffer, int len ) : int
SaveOrLoad ( Serializer ser ) : void
SetMusicVolume ( int vol ) : void
SetupChannel ( int channel, byte musicData, int instrOffset ) : void
SetupFrequency ( int channel, sbyte frequency ) : void
SetupNoteEnvelopeState ( Note note, int steps, int adjust ) : void
SetupOperator ( int opr, byte musicData, int &instrOffset ) : void
SetupRhythm ( uint rhythmInstr, int instrOffset ) : void
SetupVolume ( ) : void
StartMusic ( ) : void
StartSound ( int sound ) : void
StopAllSounds ( ) : void
StopMusic ( ) : void
StopSfx ( SfxSlot sfx ) : void
StopSound ( int sound ) : void
UpdateChannel ( Channel channel ) : void
UpdateMusic ( ) : void
UpdateSfx ( ) : void
UpdateSlot ( Channel channel ) : void
WriteReg ( int r, int v ) : void
WriteRegisterSpecial ( int channel, byte value, int offset ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
AllocateHWChannel ( int priority, SfxSlot owner = null ) : int
AllocateSfxSlot ( int priority ) : SfxSlot
GetRnd ( ) : byte
ParseCommand ( ) : bool
ParseVLQ ( ) : uint
ProcessNote ( Note note, Channel channel, int offset ) : bool
ProcessNoteEnvelope ( Note note ) : bool
ReadReg ( int r ) : byte
ReadRegisterSpecial ( int channel, byte defaultValue, int offset ) : byte
StartSfx ( SfxSlot sfx, byte resource ) : bool

메소드 상세

ClearChannel() 공개 메소드

public ClearChannel ( Channel channel ) : void
channel Channel
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

FreeHWChannel() 공개 메소드

public FreeHWChannel ( int channel ) : void
channel int
리턴 void

FreeVoiceChannel() 공개 메소드

public FreeVoiceChannel ( int channel ) : void
channel int
리턴 void

GetMusicTimer() 공개 메소드

public GetMusicTimer ( ) : int
리턴 int

GetSoundStatus() 공개 메소드

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

LimitHWChannels() 공개 메소드

public LimitHWChannels ( int newCount ) : void
newCount int
리턴 void

MusicSeekTo() 공개 메소드

public MusicSeekTo ( uint position ) : void
position uint
리턴 void

NoteOff() 공개 메소드

public NoteOff ( int channel ) : void
channel int
리턴 void

NoteOffOn() 공개 메소드

public NoteOffOn ( int channel ) : void
channel int
리턴 void

ParseNote() 공개 메소드

public ParseNote ( Note note, Channel channel, int offset ) : void
note Note
channel Channel
offset int
리턴 void

ParseSlot() 공개 메소드

public ParseSlot ( Channel channel ) : void
channel Channel
리턴 void

Player_AD() 공개 메소드

public Player_AD ( ScummEngine scumm, IMixer mixer ) : System
scumm ScummEngine
mixer IMixer
리턴 System

ReadBuffer() 공개 메소드

public ReadBuffer ( short buffer, int len ) : int
buffer short
len int
리턴 int

SaveOrLoad() 공개 메소드

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

SetMusicVolume() 공개 메소드

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

SetupChannel() 공개 메소드

public SetupChannel ( int channel, byte musicData, int instrOffset ) : void
channel int
musicData byte
instrOffset int
리턴 void

SetupFrequency() 공개 메소드

public SetupFrequency ( int channel, sbyte frequency ) : void
channel int
frequency sbyte
리턴 void

SetupNoteEnvelopeState() 공개 메소드

public SetupNoteEnvelopeState ( Note note, int steps, int adjust ) : void
note Note
steps int
adjust int
리턴 void

SetupOperator() 공개 메소드

public SetupOperator ( int opr, byte musicData, int &instrOffset ) : void
opr int
musicData byte
instrOffset int
리턴 void

SetupRhythm() 공개 메소드

public SetupRhythm ( uint rhythmInstr, int instrOffset ) : void
rhythmInstr uint
instrOffset int
리턴 void

SetupVolume() 공개 메소드

public SetupVolume ( ) : void
리턴 void

StartMusic() 공개 메소드

public StartMusic ( ) : void
리턴 void

StartSound() 공개 메소드

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

StopAllSounds() 공개 메소드

public StopAllSounds ( ) : void
리턴 void

StopMusic() 공개 메소드

public StopMusic ( ) : void
리턴 void

StopSfx() 공개 메소드

public StopSfx ( SfxSlot sfx ) : void
sfx SfxSlot
리턴 void

StopSound() 공개 메소드

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

UpdateChannel() 공개 메소드

public UpdateChannel ( Channel channel ) : void
channel Channel
리턴 void

UpdateMusic() 공개 메소드

public UpdateMusic ( ) : void
리턴 void

UpdateSfx() 공개 메소드

public UpdateSfx ( ) : void
리턴 void

UpdateSlot() 공개 메소드

public UpdateSlot ( Channel channel ) : void
channel Channel
리턴 void

WriteReg() 공개 메소드

public WriteReg ( int r, int v ) : void
r int
v int
리턴 void

WriteRegisterSpecial() 공개 메소드

public WriteRegisterSpecial ( int channel, byte value, int offset ) : void
channel int
value byte
offset int
리턴 void