audio-engine-core 0.1.0

Reusable decoder, DSP, loudness, resampling, and streaming pipeline primitives
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Public DTO describing the current loudness measurement / gain state.

/// Loudness measurement information for API responses
#[derive(Debug, Clone, serde::Serialize)]
pub struct LoudnessInfo {
    pub integrated_lufs: f64,
    pub short_term_lufs: f64,
    pub momentary_lufs: f64,
    pub loudness_range: f64,
    pub true_peak_dbtp: f64,
    pub current_gain_db: f64,
    pub target_gain_db: f64,
    pub preamp_db: f64,
}