C# 클래스 NScumm.Core.Audio.MidiDriver

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

공개 프로퍼티들

프로퍼티 타입 설명
Mt32ToGm byte[]

공개 메소드들

메소드 설명
AllocateChannel ( ) : MidiChannel
CreateMidi ( IMixer mixer, DeviceHandle handle ) : IMidiDriver

Create music driver matching the given device handle, or NULL if there is no match.

DetectDevice ( MusicDriverTypes flags, string selectedDevice ) : DeviceHandle

Returns the device handle based on the present devices and the flags parameter.

Dispose ( ) : void
GetDeviceHandle ( string identifier ) : DeviceHandle

Find the music driver matching the given driver name/description.

GetErrorName ( MidiDriverError errorCode ) : string

Gets a text representation of an error code.

GetMusicType ( DeviceHandle handle ) : MusicType
GetPercussionChannel ( ) : MidiChannel
Open ( ) : MidiDriverError

Open the midi driver.

Property ( int prop, int param ) : int

Get or set a property.

SendGmReset ( ) : void
SendMt32Reset ( ) : void
SetTimerCallback ( object timerParam, TimerProc timerProc ) : void
SysExCustomInstrument ( byte channel, uint type, byte instr ) : void

비공개 메소드들

메소드 설명
GetDeviceString ( DeviceHandle handle, DeviceStringType type ) : string

Gets the device description string matching the given device handle and the given type.

메소드 상세

AllocateChannel() 공개 추상적인 메소드

public abstract AllocateChannel ( ) : MidiChannel
리턴 MidiChannel

CreateMidi() 공개 정적인 메소드

Create music driver matching the given device handle, or NULL if there is no match.
public static CreateMidi ( IMixer mixer, DeviceHandle handle ) : IMidiDriver
mixer IMixer
handle DeviceHandle Handle.
리턴 IMidiDriver

DetectDevice() 공개 정적인 메소드

Returns the device handle based on the present devices and the flags parameter.
public static DetectDevice ( MusicDriverTypes flags, string selectedDevice ) : DeviceHandle
flags MusicDriverTypes Flags.
selectedDevice string The selected device
리턴 DeviceHandle

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetDeviceHandle() 공개 정적인 메소드

Find the music driver matching the given driver name/description.
public static GetDeviceHandle ( string identifier ) : DeviceHandle
identifier string Identifier.
리턴 DeviceHandle

GetErrorName() 공개 정적인 메소드

Gets a text representation of an error code.
public static GetErrorName ( MidiDriverError errorCode ) : string
errorCode MidiDriverError Error code.
리턴 string

GetMusicType() 공개 정적인 메소드

public static GetMusicType ( DeviceHandle handle ) : MusicType
handle DeviceHandle
리턴 MusicType

GetPercussionChannel() 공개 추상적인 메소드

public abstract GetPercussionChannel ( ) : MidiChannel
리턴 MidiChannel

Open() 공개 추상적인 메소드

Open the midi driver.
public abstract Open ( ) : MidiDriverError
리턴 MidiDriverError

Property() 공개 추상적인 메소드

Get or set a property.
public abstract Property ( int prop, int param ) : int
prop int Property.
param int Parameter.
리턴 int

SendGmReset() 공개 메소드

public SendGmReset ( ) : void
리턴 void

SendMt32Reset() 공개 메소드

public SendMt32Reset ( ) : void
리턴 void

SetTimerCallback() 공개 추상적인 메소드

public abstract SetTimerCallback ( object timerParam, TimerProc timerProc ) : void
timerParam object
timerProc TimerProc
리턴 void

SysExCustomInstrument() 공개 메소드

public SysExCustomInstrument ( byte channel, uint type, byte instr ) : void
channel byte
type uint
instr byte
리턴 void

프로퍼티 상세

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

public static byte[] Mt32ToGm
리턴 byte[]