C# 클래스 JackSharp.Processor

Processor.
상속: Client
파일 보기 프로젝트 열기: residuum/JackSharp 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Releases all resource used by the JackSharp.Processor object.

Call Dispose when you are finished using the JackSharp.Processor. The Dispose method leaves the JackSharp.Processor in an unusable state. After calling Dispose, you must release all references to the JackSharp.Processor so the garbage collector can reclaim the memory that the JackSharp.Processor was occupying.

Processor ( string name, int audioInPorts, int audioOutPorts, int midiInPorts, int midiOutPorts, bool autoconnect = false ) : System

Initializes a new instance of the JackSharp.Processor class.

Start ( bool startServer = false ) : bool

Activates the client and connects to Jack.

Stop ( ) : bool

Stop this instance and disconnects from Jack.

비공개 메소드들

메소드 설명
AutoConnectPorts ( ) : void
ConnectPorts ( List outlets, List inlets ) : void
CreatePorts ( ) : void
DisposePorts ( ) : void
OnProcess ( uint nframes, IntPtr arg ) : int
Open ( bool startServer ) : bool
SetUpCallbacks ( ) : void
SetUpPorts ( int audioInPorts, int audioOutPorts, int midiInPorts, int midiOutPorts ) : void
WireUpCallbacks ( ) : void

메소드 상세

Dispose() 공개 메소드

Releases all resource used by the JackSharp.Processor object.
Call Dispose when you are finished using the JackSharp.Processor. The Dispose method leaves the JackSharp.Processor in an unusable state. After calling Dispose, you must release all references to the JackSharp.Processor so the garbage collector can reclaim the memory that the JackSharp.Processor was occupying.
public Dispose ( ) : void
리턴 void

Processor() 공개 메소드

Initializes a new instance of the JackSharp.Processor class.
public Processor ( string name, int audioInPorts, int audioOutPorts, int midiInPorts, int midiOutPorts, bool autoconnect = false ) : System
name string Name.
audioInPorts int Number of audio in ports.
audioOutPorts int Number of audio out ports.
midiInPorts int Number of MIDI in ports.
midiOutPorts int Number of MIDI out ports.
autoconnect bool If set to true, autoconnect inlets and outlets to physical ports.
리턴 System

Start() 공개 메소드

Activates the client and connects to Jack.
public Start ( bool startServer = false ) : bool
startServer bool If [true], the client will start Jack if it is not running.
리턴 bool

Stop() 공개 메소드

Stop this instance and disconnects from Jack.
public Stop ( ) : bool
리턴 bool