diff --git a/playback/src/audio_backend/rodio.rs b/playback/src/audio_backend/rodio.rs index 3827a8da..54851d8b 100644 --- a/playback/src/audio_backend/rodio.rs +++ b/playback/src/audio_backend/rodio.rs @@ -187,12 +187,14 @@ pub fn open(host: cpal::Host, device: Option, format: AudioFormat) -> Ro impl Sink for RodioSink { fn start(&mut self) -> SinkResult<()> { - Ok(self.rodio_sink.play()) + self.rodio_sink.play(); + Ok(()) } fn stop(&mut self) -> SinkResult<()> { self.rodio_sink.sleep_until_end(); - Ok(self.rodio_sink.pause()) + self.rodio_sink.pause(); + Ok(()) } fn write(&mut self, packet: AudioPacket, converter: &mut Converter) -> SinkResult<()> {