ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
audio_recording Struct Reference

The useful part of audio recording is in mix, channels, epoch_ns, read_position: together they describe what is pending, who owns it, and how much data is valid. Keep the object with its parent operation and use the parent cleanup path. More...

Data Fields

float * mix
unsigned channels
uint64_t epoch_ns
uint64_t read_position
uint64_t source_position [AUDIO_RECORDING_SOURCE_COUNT]
bool started
bool source_started [AUDIO_RECORDING_SOURCE_COUNT]

Detailed Description

The useful part of audio recording is in mix, channels, epoch_ns, read_position: together they describe what is pending, who owns it, and how much data is valid. Keep the object with its parent operation and use the parent cleanup path.

Definition at line 16 of file recording.c.

Field Documentation

◆ channels

unsigned audio_recording::channels

◆ epoch_ns

uint64_t audio_recording::epoch_ns

Definition at line 19 of file recording.c.

Referenced by audio_recording_start(), and audio_recording_submit().

◆ mix

float* audio_recording::mix

◆ read_position

uint64_t audio_recording::read_position

Definition at line 20 of file recording.c.

Referenced by audio_recording_read(), and audio_recording_submit().

◆ source_position

uint64_t audio_recording::source_position[AUDIO_RECORDING_SOURCE_COUNT]

Definition at line 21 of file recording.c.

Referenced by audio_recording_submit().

◆ source_started

bool audio_recording::source_started[AUDIO_RECORDING_SOURCE_COUNT]

Definition at line 23 of file recording.c.

Referenced by audio_recording_submit().

◆ started

bool audio_recording::started

Definition at line 22 of file recording.c.

Referenced by audio_recording_start(), and audio_recording_submit().


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