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

Public Slots | |
| virtual bool | Connect (MAudioOutputPort *port) |
| virtual bool | Disconnect (MAudioOutputPort *port) |
Public Member Functions | |
| virtual MClient * | Client () const |
| virtual float * | Buffer () |
| virtual bool | IsCalculated () |
| virtual unsigned int | NumberOfPluginConnections () |
| void | CalculateBuffer () |
| void | SetNotCalculated () |
Protected Member Functions | |
| MClientAudioInputPort (jack_port_t *jack_port, MClient *client) | |
Protected Attributes | |
| bool | _calculated |
| vector< MPluginAudioOutputPort * > | _pluginConnection |
Friends | |
| MClientAudioInputPort * | MClient::addAudioInput (jack_port_t *jackPort) |
|
||||||||||||
|
Creates a client port corresponding to the jack_port handle and belonging to the client client.
|
|
|
The client owning the port.
Implements MClientPort. |
|
|
The buffer associated with the port. This buffer is provided filled up with audio data that correspond to a mix from the incoming connections ( connections from client ports as well as plugin ports ).
Reimplemented from MClientPort. Reimplemented in MExternalAudioInputPort. |
|
|
Was the port buffer already calculated for this cycle ?
|
|
|
The number of plugin ports connected to this port.
|
|
|
Calculates the input buffer of the port by mixing the actual input provided by JACK with the inputs coming from the plugin connections. This needs to be done at each JACK cycle and will be performed by the port itself when the first call to Buffer( ) is made.
|
|
|
Sets the port buffer as not calculated.
|
|
|
This is the actual connection process of the port. A MClientAudioInput port can be connected to : Implements MAudioInputPort. Reimplemented in MExternalAudioInputPort. |
|
|
Implements MAudioInputPort. Reimplemented in MExternalAudioInputPort. |
|
|
Was the port buffer already calculated for this cycle ?
|
|
|
The plugin ports connected to this port.
|