AUDIO
Source snapshot · 12 October 2026

API reference / ravet_device::open_duplex

Function open_duplex 

pub fn open_duplex<P: Processor + Send + 'static>(
    input: &Device,
    output: &Device,
    input_config: StreamConfig,
    output_config: StreamConfig,
    maximum_frames: usize,
    ring_frames: usize,
    processor: P,
) -> Result<DuplexStream, OpenError>
Expand description

Prepare/open matching-rate f32 effect capture/playback with explicit devices. No hidden default fallback, loopback routing, resampling or automatic recovery.