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

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

#include <src/utils/types.h>

Public Member Functions

void print () const

Data Fields

unsigned_frame_t g_start_frame_ = 0
 Global position at the start of the processing cycle (no offset added).
unsigned_frame_t g_start_frame_w_offset_ = 0
 Global position with EngineProcessTimeInfo.local_offset added, for convenience.
nframes_t local_offset_ = 0
 Offset in the current processing cycle, between 0 and the number of frames in AudioEngine.block_length.
nframes_t nframes_ = 0
 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 132 of file types.h.

Field Documentation

◆ g_start_frame_

unsigned_frame_t EngineProcessTimeInfo::g_start_frame_ = 0

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

Definition at line 139 of file types.h.

◆ g_start_frame_w_offset_

unsigned_frame_t EngineProcessTimeInfo::g_start_frame_w_offset_ = 0

Global position with EngineProcessTimeInfo.local_offset added, for convenience.

Definition at line 143 of file types.h.

◆ local_offset_

nframes_t EngineProcessTimeInfo::local_offset_ = 0

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

Definition at line 147 of file types.h.

◆ nframes_

nframes_t EngineProcessTimeInfo::nframes_ = 0

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

Definition at line 152 of file types.h.


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