pub fn intake(
format: AudioFormat,
capacity_frames: usize,
) -> Result<(SampleProducer, SampleConsumer), FormatError>Expand description
Create a validated intake: an SPSC pair sized for at least
capacity_frames frames of headroom (rounded up to a power of two).