Closed
Description
I'm trying to enumerate the available devices on Android using this code, through CPAL
:
let host = cpal::default_host();
if let Ok(dev) = host.devices() {
for dev in dev {
log::warn!("DEVICE: {:?}", dev.name());
}
}
When running on a Pixel 4a 5G, I get this panic:
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', /home/attila/.cargo/registry/src/github.tiyicn.workers.dev-1ecc6299db9ec823/oboe-0.4.5/src/java_interface/devices_info.rs:64:18
Metadata
Metadata
Assignees
Labels
No labels