-
-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alsa Audio thread '<unnamed>' panicked: Can't set rate #904
Comments
I found this related issue: #584 |
Okay, so according to the official ALSA API documentation (https://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m___h_w___params.html),
From what I understand, if For example, on some systems (like mine, where the sample rate is fixed at 48000 Hz, or as reported in this issue), ALSA only accepts 48000 Hz and cannot round to 44100 Hz or any other value. Since the current implementation panics immediately when Would it make sense to handle this case more gracefully? Instead of panicking, perhaps an alternative approach could be explored, such as trying What do you think? |
I'm on Arch Linux.
Cargo.toml
:I get this error:
thread '<unnamed>' panicked at ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/quad-snd-0.2.8/src/alsa_snd.rs:57:9: Can't set rate.
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: