Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::dsp::graph::EngineProcessTimeInfo Struct Reference

Common struct to pass around during processing to avoid repeating the data in function arguments. More...

#include <src/dsp/graph_node.h>

Public Member Functions

void print () const

Data Fields

units::sample_u64_t g_start_frame_
 Global position at the start of the processing cycle (no offset added).
units::sample_u64_t g_start_frame_w_offset_
 Global position with dsp::graph::EngineProcessTimeInfo.local_offset added, for convenience.
units::sample_u32_t local_offset_
 Offset in the current processing cycle, between 0 and the number of frames in AudioEngine.block_length.
units::sample_u32_t nframes_
 Number of frames to process in this call, starting from the offset.

Detailed Description

Common struct to pass around during processing to avoid repeating the data in function arguments.

Definition at line 50 of file graph_node.h.

Field Documentation

◆ g_start_frame_

units::sample_u64_t zrythm::dsp::graph::EngineProcessTimeInfo::g_start_frame_

Global position at the start of the processing cycle (no offset added).

Definition at line 57 of file graph_node.h.

◆ g_start_frame_w_offset_

units::sample_u64_t zrythm::dsp::graph::EngineProcessTimeInfo::g_start_frame_w_offset_

Global position with dsp::graph::EngineProcessTimeInfo.local_offset added, for convenience.

Definition at line 61 of file graph_node.h.

◆ local_offset_

units::sample_u32_t zrythm::dsp::graph::EngineProcessTimeInfo::local_offset_

Offset in the current processing cycle, between 0 and the number of frames in AudioEngine.block_length.

Definition at line 65 of file graph_node.h.

◆ nframes_

units::sample_u32_t zrythm::dsp::graph::EngineProcessTimeInfo::nframes_

Number of frames to process in this call, starting from the offset.

Definition at line 70 of file graph_node.h.


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