Raul::JackDriver Class Reference

Jack based driver for an audio context. More...

#include <JackDriver.hpp>

List of all members.

Public Member Functions

void attach (const std::string &client_name, std::string server_name="")
void detach ()
void activate ()
void deactivate ()
bool is_activated () const
bool is_attached () const
bool is_realtime () const
void start_transport ()
void stop_transport ()
void rewind_transport ()
jack_nframes_t buffer_size ()
bool set_buffer_size (jack_nframes_t size)
jack_nframes_t sample_rate ()
size_t xruns ()
void reset_xruns ()
float max_delay ()
void reset_delay ()
jack_client_t * jack_client ()

Protected Member Functions

virtual void on_process (jack_nframes_t)
 Process callback.
virtual void on_graph_order_changed ()
 Graph order change callback.
virtual void on_buffer_size_changed (jack_nframes_t)
 Buffer size changed callback.
virtual void on_xrun ()
virtual void on_shutdown ()
virtual void on_error ()

Protected Attributes

jack_client_t * _client


Detailed Description

Jack based driver for an audio context.

Apps can override the on_* methods of this class to implement reactions to Jack events (e.g. new port, process callback, etc).


Member Function Documentation

virtual void Raul::JackDriver::on_process ( jack_nframes_t   )  [inline, protected, virtual]

Process callback.

Derived classes should do all audio processing here.

virtual void Raul::JackDriver::on_buffer_size_changed ( jack_nframes_t   )  [inline, protected, virtual]

Buffer size changed callback.

At the time this is called, buffer_size() will still return the old size. Immediately afterwards, it will be set to the new value.


The documentation for this class was generated from the following file:
Generated on Wed Apr 9 08:14:41 2008 for RAUL by  doxygen 1.5.1