1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-05 19:42:03 +02:00

Update dependencies.

This commit is contained in:
Paul Lietar 2016-04-24 15:40:05 +01:00
parent f50fca02ae
commit a42752af2f
5 changed files with 25 additions and 73 deletions

View file

@ -104,7 +104,7 @@ impl AudioFile {
break;
}
while bitmap.contains(&index) {
while bitmap.contains(index) {
index = (index + 1) % shared.chunk_count;
}
drop(bitmap);
@ -155,7 +155,7 @@ impl Read for AudioFile {
let len = min(output.len(), CHUNK_SIZE - offset);
let mut bitmap = self.shared.bitmap.lock().unwrap();
while !bitmap.contains(&index) {
while !bitmap.contains(index) {
bitmap = self.shared.cond.wait(bitmap).unwrap();
}
drop(bitmap);