-
Notifications
You must be signed in to change notification settings - Fork 67
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
PCM::direct_mmap_capture errors with ENOTTY on ioctl #118
Comments
Interesting. Are you sure the difference is between two different alsa-rs versions and not something else in the environment (e g, not all drivers/devices support mmap)? |
I'm pretty sure, this reproduces when I update this project from 0.8.1 to 0.9.0: https://codeberg.org/tranzystorekk/spectroscope, here's where I call the API: https://codeberg.org/tranzystorekk/spectroscope/src/commit/376cfbf1151a3d77615b20822965fb728ea5ffa9/src/capture.rs#L32 For an overview, the program attempts to open an alsa loopback device to read audio for visualizing. |
@Jake-Shadle Hi, it's probably a regression from your "nuking nix" PR, would you mind having a look at this bug? Thanks! |
Sorry about that, fixed in #119 |
Just tested with the PR commit and the issue is fixed, thank you @Jake-Shadle ❤️ |
After updating to version 0.9.0 I get an ENOTTY error when attempting to call
PCM::direct_mmap_capture()
:The environment is:
Void Linux (vmware guest)
Linux 6.6.18
Vmware Workstation Player 17.5.0
The text was updated successfully, but these errors were encountered: