#include <cstdint>
Go to the source code of this file.
|
| namespace | audio_tools |
| | Generic Implementation of sound input and output for desktop environments using portaudio.
|
| |
◆ FIXED_POINT
Enable fixed-point arithmetic for embedded systems When defined, uses integer math instead of floating-point for better performance on processors without FPU.
◆ FLOAT_HALF
| #define FLOAT_HALF {16384, 0} |
Fixed-point half constant (Q15 format: 16384, exp 0)
◆ FLOAT_ONE
| #define FLOAT_ONE {32767, 0} |
Fixed-point one constant (Q15 format: 32767, exp 0)
◆ FLOAT_ZERO
| #define FLOAT_ZERO {0, 0} |
Fixed-point zero constant (Q15 format)
◆ M_PI
| #define M_PI 3.14159265358979323846 |
Mathematical constant Pi (3.14159265358979323846)
◆ PLAYBACK_DELAY
Playback buffer delay in frames (2) Number of frames to buffer the playback signal before processing with the captured signal. This compensates for typical system latencies.
◆ TWO_PATH
Enable two-path filter for improved double-talk robustness When enabled, the echo canceller maintains both a foreground and background filter, allowing it to better handle situations where near-end and far-end speech occur simultaneously (double-talk).