mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Export devices.
This commit is contained in:
parent
5a19d38270
commit
677173d01b
1 changed files with 4 additions and 0 deletions
|
@ -109,6 +109,10 @@ impl SpircManager {
|
|||
self.0.lock().unwrap().handle(frame);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn devices(&self) -> HashMap<String, String> {
|
||||
self.0.lock().unwrap().devices.clone()
|
||||
}
|
||||
}
|
||||
|
||||
impl SpircInternal {
|
||||
|
|
Loading…
Reference in a new issue