|
JS8Call-Improved master
|
Audio sink that collects, down-samples and provides buffered samples. More...


Go to the source code of this file.
Classes | |
| class | Detector |
Audio sink that collects, down-samples and provides buffered samples.
Detector is an AudioDevice sink that accumulates incoming PCM samples into an internal, de-interleaved buffer sized for one JS8 period. The class exposes thread-safe access to the buffer via a mutex and emits notifications when frames are written so downstream consumers (the decoder) can process fixed-size chunks.