C# 클래스 NScumm.Scumm.Audio.IMuse.IMuseInternal

SCUMM implementation of IMuse. This class implements the IMuse mixin interface for the SCUMM environment.
상속: IIMuse
파일 보기 프로젝트 열기: scemino/nscumm 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_channel_volume ushort[]
_channel_volume_eff ushort[]
_cmd_queue NScumm.Scumm.Audio.IMuse.CommandQueue[]
_deferredCommands NScumm.Scumm.Audio.IMuse.DeferredCommand[]
_enable_gs bool
_game_id GameId
_global_instruments NScumm.Scumm.Audio.IMuse.Instrument[]
_initialized bool
_master_volume byte
_midi_adlib NScumm.Core.Audio.MidiDriver
_midi_native NScumm.Core.Audio.MidiDriver
_music_volume byte
_mutex object
_native_mt32 bool
_parts NScumm.Scumm.Audio.IMuse.Part[]
_paused bool
_player_limit int
_players Player[]
_queue_adding bool
_queue_cleared bool
_queue_end uint
_queue_marker byte
_recycle_players bool
_snm_triggers ImTrigger[]
_timer_info_adlib TimerCallbackInfo
_timer_info_native TimerCallbackInfo
_trigger_count ushort
_volchan_table ushort[]

공개 메소드들

메소드 설명
AddSysexHandler ( byte mfgID, SysExFunc handler ) : void
Create ( MidiDriver nativeMidiDriver, MidiDriver adlibMidiDriver ) : IMuseInternal
DoCommand ( int numargs, int args ) : int
GetMusicTimer ( ) : int
GetSoundActive ( int sound ) : bool
GetSoundStatus ( int sound ) : int
HandleMarker ( int id, int data ) : void
IMuseInternal ( ) : System
Pause ( bool paused ) : void
Property ( ImuseProperty prop, uint value ) : uint
SaveOrLoad ( Serializer ser ) : void
SetGlobalInstrument ( byte slot, byte data ) : void
SetMusicVolume ( int vol ) : void
StartSound ( int sound ) : void
StartSoundWithNoteOffset ( int sound, int offset ) : void
StopAllSounds ( ) : void
StopSound ( int sound ) : void

보호된 메소드들

메소드 설명
AddDeferredCommand ( int time, int a, int b, int c, int d, int e, int f ) : void
AllocatePart ( byte pri, MidiDriver midi ) : Part
AllocatePlayer ( byte priority ) : Player
ClearQueue ( ) : int
CopyGlobalInstrument ( byte slot, Instrument dest ) : void
DoCommandInternal ( int numargs, int a ) : int
DoCommandInternal ( int a, int b, int c, int d, int e, int f, int g, int h ) : int
EnqueueCommand ( int a, int b, int c, int d, int e, int f, int g ) : int
EnqueueTrigger ( int sound, int marker ) : int
FindActivePlayer ( int id ) : Player
FindStartOfSound ( int sound, ChunkType ct = ChunkType.MThd|ChunkType.FORM ) : byte[]
FixPartsAfterLoad ( ) : void
FixPlayersAfterLoad ( ScummEngine scumm ) : void
GetBestMidiDriver ( int sound ) : MidiDriver
GetChannelVolume ( uint a ) : int
GetQueueSoundStatus ( int sound ) : int
GetSoundStatusInternal ( int sound, bool ignoreFadeouts ) : int
GetVolchanEntry ( uint a ) : int
HandleDeferredCommands ( MidiDriver midi ) : void
ImClearTrigger ( int sound, int id ) : int
ImFireAllTriggers ( int sound ) : int
ImSetTrigger ( int sound, int id, int a, int b, int c, int d, int e, int f, int g, int h ) : int
InitGM ( MidiDriver midi ) : void
InitMT32 ( MidiDriver midi ) : void
InitMidiDriver ( TimerCallbackInfo info ) : void
InitParts ( ) : void
InitPlayers ( ) : void
InitQueue ( ) : void
Initialize ( MidiDriver nativeMidiDriver, MidiDriver adlibMidiDriver ) : int
IsMIDI ( int sound ) : bool
IsMT32 ( int sound ) : bool
MidiTimerCallback ( object data ) : void
OnTimer ( MidiDriver midi ) : void
QueryQueue ( int param ) : int
ReallocateMidiChannels ( MidiDriver midi ) : void
SequencerTimers ( MidiDriver midi ) : void
SetChannelVolume ( uint chan, uint vol ) : int
SetImuseMasterVolume ( uint vol ) : int
SetVolchan ( int a, int b ) : int
SetVolchanEntry ( int sound, uint volchan ) : int
StartSoundInternal ( int sound, int offset ) : bool
StopAllSoundsInternal ( ) : int
StopSoundInternal ( int sound ) : int
SupportsPercussion ( int sound ) : bool
UpdateVolumes ( ) : void

비공개 메소드들

메소드 설명
IIMuse ( ) : int
IIMuse ( MidiDriver midi ) : void
IIMuse ( int id, int data ) : void

메소드 상세

AddDeferredCommand() 보호된 메소드

protected AddDeferredCommand ( int time, int a, int b, int c, int d, int e, int f ) : void
time int
a int
b int
c int
d int
e int
f int
리턴 void

AddSysexHandler() 공개 메소드

public AddSysexHandler ( byte mfgID, SysExFunc handler ) : void
mfgID byte
handler SysExFunc
리턴 void

AllocatePart() 보호된 메소드

protected AllocatePart ( byte pri, MidiDriver midi ) : Part
pri byte
midi NScumm.Core.Audio.MidiDriver
리턴 Part

AllocatePlayer() 보호된 메소드

protected AllocatePlayer ( byte priority ) : Player
priority byte
리턴 Player

ClearQueue() 보호된 메소드

protected ClearQueue ( ) : int
리턴 int

CopyGlobalInstrument() 보호된 메소드

protected CopyGlobalInstrument ( byte slot, Instrument dest ) : void
slot byte
dest Instrument
리턴 void

Create() 공개 정적인 메소드

public static Create ( MidiDriver nativeMidiDriver, MidiDriver adlibMidiDriver ) : IMuseInternal
nativeMidiDriver NScumm.Core.Audio.MidiDriver
adlibMidiDriver NScumm.Core.Audio.MidiDriver
리턴 IMuseInternal

DoCommand() 공개 메소드

public DoCommand ( int numargs, int args ) : int
numargs int
args int
리턴 int

DoCommandInternal() 보호된 메소드

protected DoCommandInternal ( int numargs, int a ) : int
numargs int
a int
리턴 int

DoCommandInternal() 보호된 메소드

protected DoCommandInternal ( int a, int b, int c, int d, int e, int f, int g, int h ) : int
a int
b int
c int
d int
e int
f int
g int
h int
리턴 int

EnqueueCommand() 보호된 메소드

protected EnqueueCommand ( int a, int b, int c, int d, int e, int f, int g ) : int
a int
b int
c int
d int
e int
f int
g int
리턴 int

EnqueueTrigger() 보호된 메소드

protected EnqueueTrigger ( int sound, int marker ) : int
sound int
marker int
리턴 int

FindActivePlayer() 보호된 메소드

protected FindActivePlayer ( int id ) : Player
id int
리턴 Player

FindStartOfSound() 보호된 메소드

protected FindStartOfSound ( int sound, ChunkType ct = ChunkType.MThd|ChunkType.FORM ) : byte[]
sound int
ct ChunkType
리턴 byte[]

FixPartsAfterLoad() 보호된 메소드

protected FixPartsAfterLoad ( ) : void
리턴 void

FixPlayersAfterLoad() 보호된 메소드

protected FixPlayersAfterLoad ( ScummEngine scumm ) : void
scumm ScummEngine
리턴 void

GetBestMidiDriver() 보호된 메소드

protected GetBestMidiDriver ( int sound ) : MidiDriver
sound int
리턴 NScumm.Core.Audio.MidiDriver

GetChannelVolume() 보호된 메소드

protected GetChannelVolume ( uint a ) : int
a uint
리턴 int

GetMusicTimer() 공개 메소드

public GetMusicTimer ( ) : int
리턴 int

GetQueueSoundStatus() 보호된 메소드

protected GetQueueSoundStatus ( int sound ) : int
sound int
리턴 int

GetSoundActive() 공개 메소드

public GetSoundActive ( int sound ) : bool
sound int
리턴 bool

GetSoundStatus() 공개 메소드

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

GetSoundStatusInternal() 보호된 메소드

protected GetSoundStatusInternal ( int sound, bool ignoreFadeouts ) : int
sound int
ignoreFadeouts bool
리턴 int

GetVolchanEntry() 보호된 메소드

protected GetVolchanEntry ( uint a ) : int
a uint
리턴 int

HandleDeferredCommands() 보호된 메소드

protected HandleDeferredCommands ( MidiDriver midi ) : void
midi NScumm.Core.Audio.MidiDriver
리턴 void

HandleMarker() 공개 메소드

public HandleMarker ( int id, int data ) : void
id int
data int
리턴 void

IMuseInternal() 공개 메소드

public IMuseInternal ( ) : System
리턴 System

ImClearTrigger() 보호된 메소드

protected ImClearTrigger ( int sound, int id ) : int
sound int
id int
리턴 int

ImFireAllTriggers() 보호된 메소드

protected ImFireAllTriggers ( int sound ) : int
sound int
리턴 int

ImSetTrigger() 보호된 메소드

protected ImSetTrigger ( int sound, int id, int a, int b, int c, int d, int e, int f, int g, int h ) : int
sound int
id int
a int
b int
c int
d int
e int
f int
g int
h int
리턴 int

InitGM() 보호된 메소드

protected InitGM ( MidiDriver midi ) : void
midi NScumm.Core.Audio.MidiDriver
리턴 void

InitMT32() 보호된 메소드

protected InitMT32 ( MidiDriver midi ) : void
midi NScumm.Core.Audio.MidiDriver
리턴 void

InitMidiDriver() 보호된 메소드

protected InitMidiDriver ( TimerCallbackInfo info ) : void
info TimerCallbackInfo
리턴 void

InitParts() 보호된 메소드

protected InitParts ( ) : void
리턴 void

InitPlayers() 보호된 메소드

protected InitPlayers ( ) : void
리턴 void

InitQueue() 보호된 메소드

protected InitQueue ( ) : void
리턴 void

Initialize() 보호된 메소드

protected Initialize ( MidiDriver nativeMidiDriver, MidiDriver adlibMidiDriver ) : int
nativeMidiDriver NScumm.Core.Audio.MidiDriver
adlibMidiDriver NScumm.Core.Audio.MidiDriver
리턴 int

IsMIDI() 보호된 메소드

protected IsMIDI ( int sound ) : bool
sound int
리턴 bool

IsMT32() 보호된 메소드

protected IsMT32 ( int sound ) : bool
sound int
리턴 bool

MidiTimerCallback() 보호된 정적인 메소드

protected static MidiTimerCallback ( object data ) : void
data object
리턴 void

OnTimer() 보호된 메소드

protected OnTimer ( MidiDriver midi ) : void
midi NScumm.Core.Audio.MidiDriver
리턴 void

Pause() 공개 메소드

public Pause ( bool paused ) : void
paused bool
리턴 void

Property() 공개 메소드

public Property ( ImuseProperty prop, uint value ) : uint
prop ImuseProperty
value uint
리턴 uint

QueryQueue() 보호된 메소드

protected QueryQueue ( int param ) : int
param int
리턴 int

ReallocateMidiChannels() 보호된 메소드

protected ReallocateMidiChannels ( MidiDriver midi ) : void
midi NScumm.Core.Audio.MidiDriver
리턴 void

SaveOrLoad() 공개 메소드

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

SequencerTimers() 보호된 메소드

protected SequencerTimers ( MidiDriver midi ) : void
midi NScumm.Core.Audio.MidiDriver
리턴 void

SetChannelVolume() 보호된 메소드

protected SetChannelVolume ( uint chan, uint vol ) : int
chan uint
vol uint
리턴 int

SetGlobalInstrument() 공개 메소드

public SetGlobalInstrument ( byte slot, byte data ) : void
slot byte
data byte
리턴 void

SetImuseMasterVolume() 보호된 메소드

protected SetImuseMasterVolume ( uint vol ) : int
vol uint
리턴 int

SetMusicVolume() 공개 메소드

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

SetVolchan() 보호된 메소드

protected SetVolchan ( int a, int b ) : int
a int
b int
리턴 int

SetVolchanEntry() 보호된 메소드

protected SetVolchanEntry ( int sound, uint volchan ) : int
sound int
volchan uint
리턴 int

StartSound() 공개 메소드

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

StartSoundInternal() 보호된 메소드

protected StartSoundInternal ( int sound, int offset ) : bool
sound int
offset int
리턴 bool

StartSoundWithNoteOffset() 공개 메소드

public StartSoundWithNoteOffset ( int sound, int offset ) : void
sound int
offset int
리턴 void

StopAllSounds() 공개 메소드

public StopAllSounds ( ) : void
리턴 void

StopAllSoundsInternal() 보호된 메소드

protected StopAllSoundsInternal ( ) : int
리턴 int

StopSound() 공개 메소드

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

StopSoundInternal() 보호된 메소드

protected StopSoundInternal ( int sound ) : int
sound int
리턴 int

SupportsPercussion() 보호된 메소드

protected SupportsPercussion ( int sound ) : bool
sound int
리턴 bool

UpdateVolumes() 보호된 메소드

protected UpdateVolumes ( ) : void
리턴 void

프로퍼티 상세

_channel_volume 보호되어 있는 프로퍼티

protected ushort[] _channel_volume
리턴 ushort[]

_channel_volume_eff 보호되어 있는 프로퍼티

protected ushort[] _channel_volume_eff
리턴 ushort[]

_cmd_queue 보호되어 있는 프로퍼티

protected CommandQueue[],NScumm.Scumm.Audio.IMuse _cmd_queue
리턴 NScumm.Scumm.Audio.IMuse.CommandQueue[]

_deferredCommands 보호되어 있는 프로퍼티

protected DeferredCommand[],NScumm.Scumm.Audio.IMuse _deferredCommands
리턴 NScumm.Scumm.Audio.IMuse.DeferredCommand[]

_enable_gs 보호되어 있는 프로퍼티

protected bool _enable_gs
리턴 bool

_game_id 보호되어 있는 프로퍼티

protected GameId _game_id
리턴 GameId

_global_instruments 보호되어 있는 프로퍼티

protected Instrument[],NScumm.Scumm.Audio.IMuse _global_instruments
리턴 NScumm.Scumm.Audio.IMuse.Instrument[]

_initialized 보호되어 있는 프로퍼티

protected bool _initialized
리턴 bool

_master_volume 보호되어 있는 프로퍼티

protected byte _master_volume
리턴 byte

_midi_adlib 보호되어 있는 프로퍼티

protected MidiDriver,NScumm.Core.Audio _midi_adlib
리턴 NScumm.Core.Audio.MidiDriver

_midi_native 보호되어 있는 프로퍼티

protected MidiDriver,NScumm.Core.Audio _midi_native
리턴 NScumm.Core.Audio.MidiDriver

_music_volume 보호되어 있는 프로퍼티

protected byte _music_volume
리턴 byte

_mutex 보호되어 있는 프로퍼티

protected object _mutex
리턴 object

_native_mt32 보호되어 있는 프로퍼티

protected bool _native_mt32
리턴 bool

_parts 보호되어 있는 프로퍼티

protected Part[],NScumm.Scumm.Audio.IMuse _parts
리턴 NScumm.Scumm.Audio.IMuse.Part[]

_paused 보호되어 있는 프로퍼티

protected bool _paused
리턴 bool

_player_limit 보호되어 있는 프로퍼티

protected int _player_limit
리턴 int

_players 보호되어 있는 프로퍼티

protected Player[] _players
리턴 Player[]

_queue_adding 보호되어 있는 프로퍼티

protected bool _queue_adding
리턴 bool

_queue_cleared 보호되어 있는 프로퍼티

protected bool _queue_cleared
리턴 bool

_queue_end 보호되어 있는 프로퍼티

protected uint _queue_end
리턴 uint

_queue_marker 보호되어 있는 프로퍼티

protected byte _queue_marker
리턴 byte

_recycle_players 보호되어 있는 프로퍼티

protected bool _recycle_players
리턴 bool

_snm_triggers 보호되어 있는 프로퍼티

Sam & Max triggers
protected ImTrigger[] _snm_triggers
리턴 ImTrigger[]

_timer_info_adlib 보호되어 있는 프로퍼티

protected TimerCallbackInfo _timer_info_adlib
리턴 TimerCallbackInfo

_timer_info_native 보호되어 있는 프로퍼티

protected TimerCallbackInfo _timer_info_native
리턴 TimerCallbackInfo

_trigger_count 보호되어 있는 프로퍼티

protected ushort _trigger_count
리턴 ushort

_volchan_table 보호되어 있는 프로퍼티

protected ushort[] _volchan_table
리턴 ushort[]