Fix bug in rodio backend

This commit is contained in:
johannesd3 2021-04-10 13:31:42 +02:00
parent 26c127c2ec
commit a576194b0e

View file

@ -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: