#include <JackDriver.hpp>
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 |
Apps can override the on_* methods of this class to implement reactions to Jack events (e.g. new port, process callback, etc).
| 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_graph_order_changed | ( | ) | [inline, protected, virtual] |
Graph order change callback.
| 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.
1.5.5