Skip to main content

stream

Function stream 

Source
pub fn stream(song: Song, bank: Vec<Timbre>) -> Receiver<Vec<i16>>
Expand description

Streams a song as interleaved 16-bit stereo 44.1 kHz chunks (half a second each) from a background thread, in the same form as crate::cdaudio::stream_wav. The thread exits when the receiver is dropped.