pub(crate) struct SharedNodeConf {
pub(crate) node_ctx_values: Vec<Arc<AtomicFloat>>,
pub(crate) graph_update_prod: Producer<GraphMessage>,
pub(crate) graph_event_cons: Consumer<GraphEvent>,
pub(crate) monitor: Monitor,
pub(crate) drop_thread: DropThread,
pub(crate) sample_rate: Arc<AtomicFloat>,
}
Fields
node_ctx_values: Vec<Arc<AtomicFloat>>
Holds the LED values of the nodes
graph_update_prod: Producer<GraphMessage>
For updating the NodeExecutor with graph updates.
graph_event_cons: Consumer<GraphEvent>
For receiving events from the DSP graph.
monitor: Monitor
For receiving monitor data from the backend thread.
drop_thread: DropThread
Handles deallocation of dead nodes from the backend.
sample_rate: Arc<AtomicFloat>
Sample rate of the backend
Implementations
pub(crate) fn new() -> (Self, SharedNodeExec)
Auto Trait Implementations
Blanket Implementations
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more