diff --git a/src/alsa/mod.rs b/src/alsa/mod.rs index 47d17bfe6..2b0e186d6 100644 --- a/src/alsa/mod.rs +++ b/src/alsa/mod.rs @@ -91,7 +91,8 @@ impl Device { alsa::SND_PCM_NONBLOCK, ) { -2 | - -16 /* determined empirically */ => return Err(FormatsEnumerationError::DeviceNotAvailable), + -16 | + -22 /* determined empirically */ => return Err(FormatsEnumerationError::DeviceNotAvailable), e => check_errors(e).expect("device not available") }