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_resampler_t Struct Reference

When code needs to work with audio resampler, it keeps phase, has_previous here instead of scattering it across globals. Initialization establishes the handles and sizes; teardown must release any allocation, lock, thread, or callback context recorded in those fields. More...

#include <include/ascii-chat/audio/format.h>

Data Fields

double phase
float previous [AUDIO_CHANNELS]
bool has_previous

Detailed Description

When code needs to work with audio resampler, it keeps phase, has_previous here instead of scattering it across globals. Initialization establishes the handles and sizes; teardown must release any allocation, lock, thread, or callback context recorded in those fields.

Definition at line 27 of file audio/format.h.

Field Documentation

◆ has_previous

bool audio_resampler_t::has_previous

Definition at line 30 of file audio/format.h.

◆ phase

double audio_resampler_t::phase

Definition at line 28 of file audio/format.h.

◆ previous

float audio_resampler_t::previous[AUDIO_CHANNELS]

Definition at line 29 of file audio/format.h.


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