-
Notifications
You must be signed in to change notification settings - Fork 230
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
error opening stream: Operation not permitted #57
Comments
Related to #55 |
Which method are you using to get audio into cava?
I also get that error if I tell cava to listen on the same ALSA output that's already directed to my speakers. If you've got a loopback set up and listen on that loopback, it should work. Here's the |
I'm using pulseaudio and created a loopback using the README instructions |
@dokipen could you give me the output of |
@dokipen, since you mention Funtoo, there is an ebuild in betagarden. |
hi, here is my output of arecord -l **** List of CAPTURE Hardware Devices **** |
@petervojtek your loopback device is card 2, cava defaults to using card 1 so you have to specify which card you should use. Try running cava with:
I defaulted cava to use hw:1,1 since I thought it would be the most common location of the loopback device. But since multiple users are affected by this issue maybe I should make the specification of interface a requirement when using alsa? Any thoughts? Not specifying any whould print an error message explaining how to find your loopback or input device and that you have to use the #1 device not the #0 on the loopback (I still don't know why this is). |
Karl, thank you for quick reply. |
@karlstav
Personally, I vote for producing helpful instructions right from |
helpful instructions in the error messages is something that I have simply forgotten to do. Also I realized now that you can specify the hardware device like this The ,1 is the device, one card can have more devices. the loopback card has two devices. It looks like there are two inputs and two outputs, but maybe ,0 only can be used as input and ,1 only as output. Because there are only one of each in the pulseaudio setup. |
closing this as error messages should now be more helpful, also hw:Loopback,1 is now default. |
Using Funtoo. I'm happy to list any relevant versions of different libs.
The text was updated successfully, but these errors were encountered: