zoog 0.8.1

Tools for modifying Ogg Opus output gain and R128 tags and Ogg Opus/Vorbis comment tags
Documentation
pub mod global {
    use crate::Decibels;

    /// The LUFS value specified by EBU R 128 (-23 LUFS)
    pub const R128_LUFS: Decibels = Decibels::new(-23.0);

    /// The LUFS value to use for ReplayGain (-18 LUFS). This is approximate
    /// since ReplayGain does not use LUFS.
    pub const REPLAY_GAIN_LUFS: Decibels = Decibels::new(-18.0);

    /// Separator between field-names and values in comments
    pub const FIELD_NAME_TERMINATOR: u8 = b'=';
}

pub mod opus {
    /// The name of the tag used to identify the track gain in Opus comment
    /// headers
    pub const TAG_TRACK_GAIN: &str = "R128_TRACK_GAIN";

    /// The name of the tag used to identify the album gain in Opus comment
    /// headers
    pub const TAG_ALBUM_GAIN: &str = "R128_ALBUM_GAIN";
}