#include <MClient.h>
Inheritance diagram for MClient:

Public Slots | |
| virtual void | Activate () |
| virtual void | Deactivate () |
| virtual void | Run (const unsigned int n) |
Public Member Functions | |
| virtual | ~MClient () |
| virtual jack_client_t * | JACKHandle () const |
| virtual MProcess * | Callback () const |
| virtual MClientAudioInputPort * | AudioInput (const unsigned int n) const |
| virtual MClientAudioOutputPort * | AudioOutput (const unsigned int n) const |
| virtual MClientControlInputPort * | ControlInput (const unsigned int n) const |
| virtual MClientControlOutputPort * | ControlOutput (const unsigned int n) const |
| virtual MAudioInputPort * | ModuleAudioInput (const unsigned int n) const |
| virtual MAudioOutputPort * | ModuleAudioOutput (const unsigned int n) const |
| virtual MControlInputPort * | ModuleControlInput (const unsigned int n) const |
| virtual MControlOutputPort * | ModuleControlOutput (const unsigned int n) const |
| virtual unsigned int | NumberOfAudioInputs () const |
| virtual unsigned int | NumberOfAudioOutputs () const |
| virtual unsigned int | NumberOfControlInputs () const |
| virtual unsigned int | NumberOfControlOutputs () const |
| virtual void | ResetInputs () |
Protected Member Functions | |
| MClient (const string &name, jack_client_t *jackClient, QObject *parent=0) | |
| virtual MClientAudioInputPort * | createAudioInput (const string &portName) |
| virtual MClientAudioOutputPort * | createAudioOutput (const string &portName) |
| virtual MClientAudioInputPort * | addAudioInput (jack_port_t *jackPort) |
| virtual MClientAudioOutputPort * | addAudioOutput (jack_port_t *jackPort) |
| virtual void | removePort (MPort *port) |
| virtual void | setCallbackProcess (MProcess *callback) |
| virtual void | removeCallbackProcess () |
Static Protected Member Functions | |
| static jack_client_t * | createJackClient (const string &name) |
Protected Attributes | |
| jack_client_t * | _jack_client |
| MProcess * | _callback |
| vector< MClientAudioInputPort * > | _audioInput |
| vector< MClientAudioOutputPort * > | _audioOutput |
| vector< MClientControlInputPort * > | _controlInput |
| vector< MClientControlOutputPort * > | _controlOutput |
A concrete client can be created in both ways :
The function that will be used as a callback by the JACK server for this client will be the MProcess::Run( const unsigned int n ) of the _callback member of this object.
|
|
Destructor.
|
|
||||||||||||||||
|
Creates a client module corresponding to the JACK client jackClient.
|
|
|
The
|
|
|
The MProcess uses as callback process for the client.
|
|
|
The nth audio input port ( MClientAudioInputPort ) of the client.
|
|
|
The nth audio output port ( MClientAudioOutputPort ) of the client.
|
|
|
The nth control input port ( MClientControlInputPort ) of the client.
|
|
|
The nth control output port ( MClientControlOutputPort ) of the client.
|
|
|
The nth audio input port ( MAudioInputPort ) of the module.
Implements MModule. |
|
|
The nth audio output port ( MAudioOutputPort ) of the module.
Implements MModule. |
|
|
The nth control input port ( MControlInputPort ) of the module.
Implements MModule. |
|
|
The nth control output port ( MControlOutputPort ) of the module.
Implements MModule. |
|
|
The number of audio input ports ( MClientAudioInputPort ) of the client.
Implements MModule. |
|
|
The number of audio output ports ( MClientAudioOutputPort ) of the client.
Implements MModule. |
|
|
The number of control input ports ( MClientControlInputPort ) of the client.
Implements MModule. |
|
|
The number of control output ports ( MClientControlOutputPort ) of the client.
Implements MModule. |
|
|
Resets all the audio inputs. The audio input ports won't be considered as calculated anymore (
|
|
|
Try to activate the module.
At the end of the method, if the module has been activated IsActive( ) should return
Implements MModule. |
|
|
Try to deactivate the module.
At the end of the method, if the module has been deactivated IsActive( ) should return
Implements MModule. |
|
|
Run the module. Ask the module to proceed a block of audio data.
If the client is run without a callback process ( _callback is
Implements MModule. Reimplemented in MSupervisor. |
|
|
Creates a new JACK client.
|
|
|
Creates a new audio input port for this client.
Creates a new
|
|
|
Creates a new audio output port for this client.
Creates a new
|
|
|
Adds an existing Creates a MClientAudioInputPort corresponding to jackPort in to the MClient.
|
|
|
Adds an existing Creates a MClientAudioOutputPort corresponding to jackPort in to the MClient.
|
|
|
Removes a port.
Deletes the
|
|
|
Sets the callback process. Changes the callback process of the MClient to callback.
|
|
|
Removes the callback process of the MClient.
|
|
|
The actual
|
|
|
The callback process.
|
|
|
The audio input ports.
|
|
|
The audio output ports.
|
|
|
The control input ports.
|
|
|
The control output ports.
|