Options for analyze(). More...
#include <audio_metrics.hpp>
Public Attributes | |
| float | clip_threshold = 1.0f |
| |sample| >= this linear level counts as clipped (1.0 == 0 dBFS). | |
| float | silence_threshold = 3.1623e-5f |
| |sample| < this linear level counts toward a silence run (default −90 dBFS: below 16-bit dither, above denormal noise). | |
Options for analyze().
Defaults match the harness plan's threshold policy: they are named here once instead of being magic numbers in call sites.
| float pulp::test::audio::AnalyzeOptions::clip_threshold = 1.0f |
|sample| >= this linear level counts as clipped (1.0 == 0 dBFS).
| float pulp::test::audio::AnalyzeOptions::silence_threshold = 3.1623e-5f |
|sample| < this linear level counts toward a silence run (default −90 dBFS: below 16-bit dither, above denormal noise).