[−][src]Function rodio::play_once
pub fn play_once<R>(device: &Device, input: R) -> Result<Sink, DecoderError> where
R: Read + Seek + Send + 'static,
Plays a sound once. Returns a Sink
that can be used to control the sound.
pub fn play_once<R>(device: &Device, input: R) -> Result<Sink, DecoderError> where
R: Read + Seek + Send + 'static,
Plays a sound once. Returns a Sink
that can be used to control the sound.