Function rodio::play_raw
[−]
[src]
pub fn play_raw<S>(device: &Device, source: S) where
S: Source<Item = f32> + Send + 'static,
Plays a source with a device until it ends.
The playing uses a background thread.