From a576194b0ecf7ec825e5a474d69fcde8bc9b0400 Mon Sep 17 00:00:00 2001 From: johannesd3 Date: Sat, 10 Apr 2021 13:31:42 +0200 Subject: [PATCH] Fix bug in rodio backend --- playback/src/audio_backend/rodio.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/playback/src/audio_backend/rodio.rs b/playback/src/audio_backend/rodio.rs index 98494dba..035cd328 100644 --- a/playback/src/audio_backend/rodio.rs +++ b/playback/src/audio_backend/rodio.rs @@ -199,8 +199,6 @@ impl Sink for RodioSink { } _ => unreachable!(), }; - let source = rodio::buffer::SamplesBuffer::new(2, 44100, packet.samples()); - self.rodio_sink.append(source); // Chunk sizes seem to be about 256 to 3000 ish items long. // Assuming they're on average 1628 then a half second buffer is: