mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Fix bug in rodio backend
This commit is contained in:
parent
26c127c2ec
commit
a576194b0e
1 changed files with 0 additions and 2 deletions
|
@ -199,8 +199,6 @@ impl Sink for RodioSink {
|
||||||
}
|
}
|
||||||
_ => unreachable!(),
|
_ => 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.
|
// Chunk sizes seem to be about 256 to 3000 ish items long.
|
||||||
// Assuming they're on average 1628 then a half second buffer is:
|
// Assuming they're on average 1628 then a half second buffer is:
|
||||||
|
|
Loading…
Reference in a new issue