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

Merge branch 'dev' into rodiojack-backend

This commit is contained in:
Sasha Hilton 2021-02-10 01:07:02 +00:00
parent 52438b1cc2
commit aad4dba8a8
12 changed files with 143 additions and 107 deletions

View file

@ -459,6 +459,13 @@ impl AudioFile {
}
}
}
pub fn is_cached(&self) -> bool {
match self {
AudioFile::Cached { .. } => true,
_ => false,
}
}
}
fn request_range(session: &Session, file: FileId, offset: usize, length: usize) -> Channel {