Jack2
1.9.12
|
A restartable driver. More...
#include <JackTimedDriver.h>
Public Member Functions | |
JackRestarterDriver (const char *name, const char *alias, JackLockedEngine *engine, JackSynchro *table) | |
void | SetRestartDriver (JackDriver *driver) |
int | RestartWait () |
![]() | |
JackWaiterDriver (const char *name, const char *alias, JackLockedEngine *engine, JackSynchro *table) | |
virtual int | ProcessNull () |
![]() | |
JackTimedDriver (const char *name, const char *alias, JackLockedEngine *engine, JackSynchro *table) | |
bool | IsFixedBufferSize () |
int | Start () |
![]() | |
JackAudioDriver (const char *name, const char *alias, JackLockedEngine *engine, JackSynchro *table) | |
virtual int | Open (jack_nframes_t buffer_size, jack_nframes_t samplerate, bool capturing, bool playing, int inchannels, int outchannels, bool monitor, const char *capture_driver_name, const char *playback_driver_name, jack_nframes_t capture_latency, jack_nframes_t playback_latency) |
virtual int | Process () |
virtual int | Attach () |
virtual int | Detach () |
virtual int | Write () |
virtual int | SetBufferSize (jack_nframes_t buffer_size) |
virtual int | SetSampleRate (jack_nframes_t sample_rate) |
virtual int | ClientNotify (int refnum, const char *name, int notify, int sync, const char *message, int value1, int value2) |
![]() | |
JackDriver (const char *name, const char *alias, JackLockedEngine *engine, JackSynchro *table) | |
void | SetMaster (bool onoff) |
bool | GetMaster () |
void | AddSlave (JackDriverInterface *slave) |
void | RemoveSlave (JackDriverInterface *slave) |
std::list< JackDriverInterface * > | GetSlaves () |
virtual int | Open () |
virtual int | Close () |
virtual int | Read () |
virtual int | Stop () |
int | ProcessReadSlaves () |
int | ProcessWriteSlaves () |
virtual int | ProcessRead () |
virtual int | ProcessWrite () |
virtual int | ProcessReadSync () |
virtual int | ProcessWriteSync () |
virtual int | ProcessReadAsync () |
virtual int | ProcessWriteAsync () |
virtual JackClientControl * | GetClientControl () const |
virtual bool | IsRealTime () const |
virtual bool | IsRunning () const |
virtual bool | Initialize () |
Additional Inherited Members | |
![]() | |
int | FirstCycle (jack_time_t cur_time) |
int | CurrentCycle (jack_time_t cur_time) |
void | ProcessWait () |
![]() | |
int | fCycleCount |
jack_time_t | fAnchorTimeUsec |
A restartable driver.
When wrapped into a JackWaitCallbackDriver, this driver can restart the wrapper thread which will wait again for the Initialize method to return.
Definition at line 84 of file JackTimedDriver.h.
void Jack::JackRestarterDriver::SetRestartDriver | ( | JackDriver * | driver | ) |
Let the wrapper register itself
Definition at line 89 of file JackTimedDriver.cpp.
int Jack::JackRestarterDriver::RestartWait | ( | ) |
Restart the wrapper thread
Definition at line 94 of file JackTimedDriver.cpp.