pub fn codec_id_for(fmt: SampleFormat) -> Option<CodecId>Expand description
Return the canonical PCM codec ID for a SampleFormat. Planar formats
have no direct PCM codec — the caller must convert to interleaved first.
pub fn codec_id_for(fmt: SampleFormat) -> Option<CodecId>Return the canonical PCM codec ID for a SampleFormat. Planar formats
have no direct PCM codec — the caller must convert to interleaved first.