Skip to main content

codec_round_trip

Function codec_round_trip 

Source
fn codec_round_trip(
    raw: Vec<u8>,
    segment: &Segment,
    raw_fmt: &str,
    label: &str,
    codec: &str,
    container: Option<&str>,
    codec_rate: Option<u32>,
) -> Result<Vec<u8>, AudioFxError>
Expand description

_codec_round_trip: encode through a lossy codec and decode straight back.