![]() |
Ardour
8.12
|
#include <graph.h>
Public Member Functions | |
Graph (Session &session) | |
int | process_routes (std::shared_ptr< GraphChain > chain, pframes_t nframes, samplepos_t start_sample, samplepos_t end_sample, bool &need_butler) |
int | routes_no_roll (std::shared_ptr< GraphChain > chain, pframes_t nframes, samplepos_t start_sample, samplepos_t end_sample, bool non_rt_pending) |
int | silence_routes (std::shared_ptr< GraphChain > chain, pframes_t nframes) |
int | process_io_plugs (std::shared_ptr< GraphChain > chain, pframes_t nframes, samplepos_t start_sample) |
bool | in_process_thread () const |
uint32_t | n_threads () const |
void | trigger (ProcessNode *n) |
void | reached_terminal_node () |
void | process_one_route (Route *route) |
void | process_one_ioplug (IOPlug *) |
void | process_tasklist (RTTaskList const &) |
![]() | |
SessionHandleRef (ARDOUR::Session &s) | |
virtual | ~SessionHandleRef () |
![]() | |
ScopedConnectionList () | |
virtual | ~ScopedConnectionList () |
void | add_connection (const UnscopedConnection &c) |
void | drop_connections () |
Protected Member Functions | |
virtual void | session_going_away () |
![]() | |
virtual void | insanity_check () |
Private Types | |
enum | ProcessMode { Roll , NoRoll , Silence } |
Private Member Functions | |
void | reset_thread_list () |
void | drop_threads () |
void | run_one () |
void | main_thread () |
void | prep () |
void | helper_thread () |
void | engine_stopped () |
Private Attributes | |
PBD::MPMCQueue< ProcessNode * > | _trigger_queue |
nodes that can be processed More... | |
std::atomic< uint32_t > | _trigger_queue_size |
number of entries in trigger-queue More... | |
PBD::Semaphore | _execution_sem |
std::atomic< uint32_t > | _idle_thread_cnt |
PBD::Semaphore | _callback_start_sem |
PBD::Semaphore | _callback_done_sem |
std::atomic< uint32_t > | _terminal_refcnt |
bool | _graph_empty |
std::atomic< uint32_t > | _n_workers |
std::atomic< int > | _terminate |
GraphChain const * | _graph_chain |
pframes_t | _process_nframes |
samplepos_t | _process_start_sample |
samplepos_t | _process_end_sample |
bool | _process_non_rt_pending |
enum ARDOUR::Graph::ProcessMode | _process_mode |
int | _process_retval |
bool | _process_need_butler |
PBD::ScopedConnectionList | engine_connections |
Additional Inherited Members | |
![]() | |
ARDOUR::Session & | _session |
|
private |
ARDOUR::Graph::Graph | ( | Session & | session | ) |
|
private |
|
private |
|
private |
bool ARDOUR::Graph::in_process_thread | ( | ) | const |
|
private |
uint32_t ARDOUR::Graph::n_threads | ( | ) | const |
|
private |
int ARDOUR::Graph::process_io_plugs | ( | std::shared_ptr< GraphChain > | chain, |
pframes_t | nframes, | ||
samplepos_t | start_sample | ||
) |
void ARDOUR::Graph::process_one_ioplug | ( | IOPlug * | ) |
void ARDOUR::Graph::process_one_route | ( | Route * | route | ) |
int ARDOUR::Graph::process_routes | ( | std::shared_ptr< GraphChain > | chain, |
pframes_t | nframes, | ||
samplepos_t | start_sample, | ||
samplepos_t | end_sample, | ||
bool & | need_butler | ||
) |
void ARDOUR::Graph::process_tasklist | ( | RTTaskList const & | ) |
void ARDOUR::Graph::reached_terminal_node | ( | ) |
|
private |
int ARDOUR::Graph::routes_no_roll | ( | std::shared_ptr< GraphChain > | chain, |
pframes_t | nframes, | ||
samplepos_t | start_sample, | ||
samplepos_t | end_sample, | ||
bool | non_rt_pending | ||
) |
|
private |
|
protectedvirtual |
Reimplemented from ARDOUR::SessionHandleRef.
int ARDOUR::Graph::silence_routes | ( | std::shared_ptr< GraphChain > | chain, |
pframes_t | nframes | ||
) |
void ARDOUR::Graph::trigger | ( | ProcessNode * | n | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |