Zrythm
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 <utils/types.h>

Data Fields

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

Field Documentation

◆ g_start_frame

unsigned_frame_t EngineProcessTimeInfo::g_start_frame

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

Definition at line 144 of file types.h.

◆ g_start_frame_w_offset

unsigned_frame_t EngineProcessTimeInfo::g_start_frame_w_offset

Global position with EngineProcessTimeInfo.local_offset added, for convenience.

Definition at line 148 of file types.h.

◆ local_offset

nframes_t EngineProcessTimeInfo::local_offset

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

Definition at line 152 of file types.h.

◆ nframes

nframes_t EngineProcessTimeInfo::nframes

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

Definition at line 157 of file types.h.


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