Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::controllers::RecordingAudioPacket Struct Reference

Static Public Member Functions

static void write_to_slot (RecordingAudioPacket &slot, units::sample_t timeline_position, bool transport_recording, std::span< const float > l_data, std::span< const float > r_data) noexcept
static void copy_from (RecordingAudioPacket &slot, const RecordingAudioPacket &source)
static void resize (RecordingAudioPacket &slot, units::sample_u32_t block_length)

Data Fields

units::sample_t timeline_position
bool transport_recording {}
units::sample_u32_t nframes
std::vector< float > l_frames
std::vector< float > r_frames

Detailed Description

Definition at line 14 of file recording_audio_packet.h.

Member Function Documentation

◆ copy_from()

void zrythm::controllers::RecordingAudioPacket::copy_from ( RecordingAudioPacket & slot,
const RecordingAudioPacket & source )
inlinestatic

Definition at line 39 of file recording_audio_packet.h.

◆ resize()

void zrythm::controllers::RecordingAudioPacket::resize ( RecordingAudioPacket & slot,
units::sample_u32_t block_length )
inlinestatic

Definition at line 53 of file recording_audio_packet.h.

◆ write_to_slot()

void zrythm::controllers::RecordingAudioPacket::write_to_slot ( RecordingAudioPacket & slot,
units::sample_t timeline_position,
bool transport_recording,
std::span< const float > l_data,
std::span< const float > r_data )
inlinestaticnoexcept

Definition at line 22 of file recording_audio_packet.h.

Field Documentation

◆ l_frames

std::vector<float> zrythm::controllers::RecordingAudioPacket::l_frames

Definition at line 19 of file recording_audio_packet.h.

◆ nframes

units::sample_u32_t zrythm::controllers::RecordingAudioPacket::nframes

Definition at line 18 of file recording_audio_packet.h.

◆ r_frames

std::vector<float> zrythm::controllers::RecordingAudioPacket::r_frames

Definition at line 20 of file recording_audio_packet.h.

◆ timeline_position

units::sample_t zrythm::controllers::RecordingAudioPacket::timeline_position

Definition at line 16 of file recording_audio_packet.h.

◆ transport_recording

bool zrythm::controllers::RecordingAudioPacket::transport_recording {}

Definition at line 17 of file recording_audio_packet.h.


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