Skip to main content

FrameSyncAudioRef

Type Alias FrameSyncAudioRef 

Source
pub type FrameSyncAudioRef<'fs> = AudioRef<'fs, FrameSyncAudioFree>;
Expand description

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

This is the FrameSync spelling of the generic AudioRef; the Receiver spelling is AudioFrameRef. The FrameSync path can produce a validated empty query/no-source state, so is_empty and an Option-returning format/to_owned are available. The frame is automatically freed when dropped via NDIlib_framesync_free_audio_v2.

Aliased Typeยง

pub struct FrameSyncAudioRef<'fs> { /* private fields */ }