Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::dsp::IProcessable Class Referenceabstract

Interface for objects that can be processed in the DSP graph. More...

#include <src/dsp/graph_node.h>

Inheritance diagram for zrythm::dsp::IProcessable:

Public Member Functions

virtual utils::Utf8String get_node_name () const =0
 Returns a human friendly name of the node.
 
virtual nframes_t get_single_playback_latency () const
 Returns the latency of only the given processable, without adding the previous/next latencies.
 
virtual void process_block (EngineProcessTimeInfo time_nfo)
 
virtual void clear_external_buffer (nframes_t block_length)
 
virtual bool needs_external_buffer_clear_on_early_return () const
 

Detailed Description

Interface for objects that can be processed in the DSP graph.

The IProcessable interface defines the basic functionality required for objects that can be processed as part of the DSP graph. It provides methods to get the node name, the single playback latency, and to process the block of audio/MIDI data.

Implementations of this interface are expected to be used as nodes in the DSP graph, where they will be processed during the audio/MIDI processing cycle.

Definition at line 49 of file graph_node.h.

Member Function Documentation

◆ clear_external_buffer()

virtual void zrythm::dsp::IProcessable::clear_external_buffer ( nframes_t block_length)
inlinevirtual

Reimplemented in Port.

Definition at line 70 of file graph_node.h.

◆ get_node_name()

virtual utils::Utf8String zrythm::dsp::IProcessable::get_node_name ( ) const
pure virtual

◆ get_single_playback_latency()

virtual nframes_t zrythm::dsp::IProcessable::get_single_playback_latency ( ) const
inlinevirtual

Returns the latency of only the given processable, without adding the previous/next latencies.

Reimplemented in Port, SampleProcessor, and zrythm::gui::old_dsp::plugins::CarlaNativePlugin.

Definition at line 63 of file graph_node.h.

◆ needs_external_buffer_clear_on_early_return()

virtual bool zrythm::dsp::IProcessable::needs_external_buffer_clear_on_early_return ( ) const
inlinevirtual

Definition at line 72 of file graph_node.h.

◆ process_block()

virtual void zrythm::dsp::IProcessable::process_block ( EngineProcessTimeInfo time_nfo)
inlinevirtual

Reimplemented in Fader, SampleProcessor, and zrythm::gui::old_dsp::plugins::Plugin.

Definition at line 68 of file graph_node.h.


The documentation for this class was generated from the following file: