Ingen
0.5.1
|
Driver for running Ingen directly as a library. More...
#include <DirectDriver.hpp>
Public Member Functions | |
DirectDriver (double sample_rate, SampleCount block_length, size_t seq_size) | |
virtual void | activate () |
Activate driver (begin processing graph and events). More... | |
virtual void | deactivate () |
Deactivate driver (stop processing graph and events). More... | |
virtual EnginePort * | create_port (DuplexPort *graph_port) |
Create a port ready to be inserted with add_input (non realtime). More... | |
virtual EnginePort * | get_port (const Raul::Path &path) |
Find a system port by path. More... | |
virtual void | add_port (RunContext &context, EnginePort *port) |
Add a system visible port (e.g. More... | |
virtual void | remove_port (RunContext &context, EnginePort *port) |
Remove a system visible port. More... | |
virtual void | rename_port (const Raul::Path &old_path, const Raul::Path &new_path) |
Rename a system visible port. More... | |
virtual void | port_property (const Raul::Path &path, const Raul::URI &uri, const Atom &value) |
Apply a system visible port property. More... | |
virtual void | register_port (EnginePort &port) |
Register a system visible port. More... | |
virtual void | unregister_port (EnginePort &port) |
Register a system visible port. More... | |
virtual SampleCount | block_length () const |
Return the audio buffer size in frames. | |
virtual size_t | seq_size () const |
Return the event buffer size in bytes. | |
virtual SampleCount | sample_rate () const |
Return the sample rate in Hz. | |
virtual SampleCount | frame_time () const |
Return the current frame time (running counter) | |
virtual void | append_time_events (RunContext &context, Buffer &buffer) |
Append time events for this cycle to buffer . More... | |
virtual int | real_time_priority () |
Return the real-time priority of the audio thread, or -1. More... | |
Driver for running Ingen directly as a library.
|
inlinevirtual |
Activate driver (begin processing graph and events).
Reimplemented from Ingen::Server::Driver.
|
inlinevirtual |
Deactivate driver (stop processing graph and events).
Reimplemented from Ingen::Server::Driver.
|
inlinevirtual |
Create a port ready to be inserted with add_input (non realtime).
May return NULL if the Driver can not create the port for some reason.
Implements Ingen::Server::Driver.
|
inlinevirtual |
Find a system port by path.
Implements Ingen::Server::Driver.
|
inlinevirtual |
|
inlinevirtual |
Remove a system visible port.
This removes the port from the driver in the process thread but does not destroy the port. To actually remove the system port, unregister_port() must be called later in another thread.
Implements Ingen::Server::Driver.
|
inlinevirtual |
Rename a system visible port.
Implements Ingen::Server::Driver.
|
inlinevirtual |
Apply a system visible port property.
Implements Ingen::Server::Driver.
|
inlinevirtual |
Register a system visible port.
Implements Ingen::Server::Driver.
|
inlinevirtual |
Register a system visible port.
Implements Ingen::Server::Driver.
|
inlinevirtual |
Append time events for this cycle to buffer
.
Implements Ingen::Server::Driver.
|
inlinevirtual |
Return the real-time priority of the audio thread, or -1.
Implements Ingen::Server::Driver.