JS8Call-Improved master
Loading...
Searching...
No Matches
Detector.h File Reference

Audio sink that collects, down-samples and provides buffered samples. More...

#include "JS8_Audio/AudioDevice.h"
#include <QMutex>
#include <vendor/Eigen/Dense>
#include <array>
Include dependency graph for Detector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Detector

Detailed Description

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.