Skip to main content

open_audio

Function open_audio 

Source
fn open_audio(path: &str) -> Result<(PageReader<UnixStream>, OpusHead), String>
Expand description

Connect to the audio sink within a moment and read its headers: the reader positioned at the first audio packet, and the OpusHead the track is declared from.