Skip to main content

intake

Function intake 

Source
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).