C# Класс JackSharp.Processor

Processor.
Наследование: Client
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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