Skip to main content

AudioFrameRef

Type Alias AudioFrameRef 

Source
pub type AudioFrameRef<'rx> = AudioRef<'rx, AudioKind>;
Expand description

A zero-copy borrowed audio frame from a Receiver capture.

This is the receiver spelling of the generic AudioRef; the FrameSync spelling is FrameSyncAudioRef. The receiver path always yields a concrete audio frame, so format returns an AudioFormat and to_owned an AudioFrame; the FrameSync path additionally models a validated empty query/no-source state.

Aliased Typeยง

pub struct AudioFrameRef<'rx> { /* private fields */ }