pub fn validate_conversion(
properties: &AudioProperties,
target: Target,
) -> Result<(), String>Expand description
Refuses lossless conversions that cannot represent the source samples.
FLAC stores integer PCM; arbitrary floating-point PCM must remain in a floating-capable container such as WAV rather than being quantized silently. Unknown source precision cannot establish a lossless conversion either.