pub fn audio_bridge(
capacity: usize,
) -> (AudioBridgeProducer, AudioBridgeConsumer)Expand description
Create an audio bridge pair for thread-safe audio data transfer.
The capacity determines how many audio frames can be buffered.
A typical value is 4-16 frames.