-
Notifications
You must be signed in to change notification settings - Fork 245
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
[help needed] failure in opening stream (ffffd8f2) #428
Comments
if I'm not mistaken ffffd8f2 means cava hardcode this value to two here: Line 136 in 03a8c85
could you have more or less channels on your device? |
there is also a known issue with background music that
might be related |
I don't really understand what that means but I assume it means for each headphone, I tried changing the output of background music to vb-cable (and it indicated that there is only 2-channels) and at the beginning my terminal was blank but after some time it gave me same error. Now it gives me that error without being blank. |
hi @life-the-user, sorry for the late reply, finally got around to actually test portaudio on mac and this does indeed happen. Luckily it is a known bug in portaudio. Just reinstall it and it should work fine.
a simple |
I installed and set up everything, and this Error was resolved. But now whenever I start cava, it shows the same visualization, regardless of whether something is playing or not. Is that normal, or is the expected behaviour when nothing is playing, a flat visualizer will be shown, and when something is playing, the audio output will be visualized? PS: I'm on an M1 Macbook Air This could also be an issue with my installation of |
elaborate, what is "the same"? screenshot?
yes. |
Nvm, it suddenly started working. From what I see (for my case), it's definitely because of BackgroundMusic, not cava. |
this is an issue with portaudio not cava. to solve this issue reinstall portaudio:
|
I have the same error on macOS, i've tried |
what is your macos and portaudio version? cava config? is the error code the same? |
macOS 12.3.1
Config
|
works fine for me on macOS 11.6.4 (no time to upgrade at the moment) that error code actually means "invalid number of channels". I just pushed a commit to print the portaudio errors as strings instead of hex number. Could there be something with your audio setup. The source needs to be two channels. |
I'm actually also getting the same error with My
|
Your relevant config option is comented out. Try to remove the semicolon before source = "Background Music" If it still fails, you could try spundflower instead of background music. I recall there was some issues with background music in recent macos versions. |
Oh my god thank you so much. I cannot believe I didn't realize that the semicolon was a comment! It's working perfectly now! Thank you again for noticing that! |
I'm on macOS I have installed cava using brew. The config dir wasn't there so I manually put it there. Background Music is running and I changed everything I could to
method = portaudio
source = "Background Music"
When running
cava
it displays that error and brakes my session.The text was updated successfully, but these errors were encountered: