Skip to main content

source_bit_depth

Function source_bit_depth 

Source
pub fn source_bit_depth(params: &AudioCodecParameters) -> Option<u16>
Expand description

The source’s bit depth, or None where the stream does not state one (lossy codecs). Symphonia’s MP4 demuxer leaves bits_per_sample unset for ALAC, whose depth lives in the magic cookie.