EMIPLIB
|
A Jack audio connection kit output component. More...
#include <mipjackoutput.h>
Public Member Functions | |
bool | open (MIPTime interval=MIPTime(0.020), const std::string &serverName=std::string(""), MIPTime arrayTime=MIPTime(10.0)) |
Initializes the output component. | |
bool | close () |
Cleans up the component. | |
int | getSamplingRate () const |
Returns the sampling rate which is used by the component. |
This component uses the Jack audio connection kit to provide audio output. It accepts stereo raw floating point audio messages and does not produce any messages itself.
bool MIPJackOutput::close | ( | ) |
int MIPJackOutput::getSamplingRate | ( | ) | const [inline] |
Returns the sampling rate which is used by the component. Incoming raw audio messages should have this sampling rate.
bool MIPJackOutput::open | ( | MIPTime | interval = MIPTime(0.020) , |
const std::string & | serverName = std::string("") , |
||
MIPTime | arrayTime = MIPTime(10.0) |
||
) |
Initializes the output component.
interval | Output is processed in blocks of this size. |
serverName | Jack server name to which the client should connect. |
arrayTime | The amount of memory allocated to internal buffers, specified as a time interval. Note that this does not correspond to the amount of buffering introduced by this component. |