Skip to content
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 error on Linux: RtApiAlsa::probeDeviceInfo: snd_pcm_open (...) error for device (...), Invalid argument. #425

Open
lkotsonis opened this issue Apr 5, 2024 · 0 comments

Comments

@lkotsonis
Copy link

Hi,

I keep getting this error on Ubuntu 22.04.4 LTS. In the beginning I thought it was an issue with how I use the API but I built the latest master locally (commit cb03db3) and tried to run the playsaw test executable:

tests git:(master) ✗ ./playsaw 1 44100  

RtApiAlsa::probeDeviceInfo: snd_pcm_open (playback) error for device (hw:sofhdadsp,1), Invalid argument.


RtApiAlsa::probeDeviceInfo: snd_pcm_open (capture) error for device (hw:sofhdadsp,1), Invalid argument.


errorCallback: RtApiAlsa::probeDeviceInfo: snd_pcm_open (playback) error for device (hw:sofhdadsp,1), Invalid argument.


errorCallback: RtApiAlsa::probeDeviceInfo: snd_pcm_open (capture) error for device (hw:sofhdadsp,1), Invalid argument.

RtAudio alsa: 
Playing ... quit with Ctrl-C (buffer size = _NOT_ 512).
running realtime scheduling
streamTime = 1.01007
streamTime = 2.00853
streamTime = 3.00698
streamTime = 4.00544

I also checked and jack/pipewire are not running. The ALSA version on this machine is 1.2.6.1. Is there any chance that this makes a difference?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant