C# Class Commons.Music.Midi.RtMidi.RtMidiDevice

Inheritance: IDisposable
显示文件 Open project: atsushieno/managed-midi Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void
Error ( RtMidiErrorType errorType, string message ) : void
GetAvailableApis ( ) : RtMidiApi[]
GetPortName ( int portNumber ) : string
OpenPort ( int portNumber, string portName ) : void
OpenVirtualPort ( string portName ) : void

Protected Methods

Method Description
ReleaseDevice ( ) : void
RtMidiDevice ( IntPtr handle ) : System

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Error() public static method

public static Error ( RtMidiErrorType errorType, string message ) : void
errorType RtMidiErrorType
message string
return void

GetAvailableApis() public static method

public static GetAvailableApis ( ) : RtMidiApi[]
return RtMidiApi[]

GetPortName() public method

public GetPortName ( int portNumber ) : string
portNumber int
return string

OpenPort() public method

public OpenPort ( int portNumber, string portName ) : void
portNumber int
portName string
return void

OpenVirtualPort() public method

public OpenVirtualPort ( string portName ) : void
portName string
return void

ReleaseDevice() protected abstract method

protected abstract ReleaseDevice ( ) : void
return void

RtMidiDevice() protected method

protected RtMidiDevice ( IntPtr handle ) : System
handle System.IntPtr
return System