-
Notifications
You must be signed in to change notification settings - Fork 50
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
No updates in listen
when switching between microphones
#68
Comments
Can confirm that removing |
I guess the only solution is to have a named FIFO or similar where we notify of our own events, and then we could also read from it in Another option is to report this behavior in We can't use polybar's integrated IPC here because we should also update when events occur outside the script. |
If it leads to high cpu, I agree that it would be better to remove listening on |
On it, that'll be v3.0.1. |
FYI in i3blocks-contrib, they're filtering on
I quickly tested python-pulse-control which subscribes to PulseAudio's events via the C api, and I see the same events as pactl subscribe (just in a different format). In fact, I think we're both running pipewire, it may be an issue with pipewire-pulseaudio's implementation, something like https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1391 |
on client
greplisten
when switching between microphones
Yeah a good idea would definitely be to see if this still happens with raw pulseaudio, rather than pipewire. I'll try it when I have a bit more time. It would also be interesting to actually learn how If the behavior is different we can report it as an issue, but I'm guessing that will take time to release in a new pipewire version anyway. |
I am using raw pulseaudio and can confirm it's working for me. So this issue might only affect pipewire users. Also noticed one minor documentation thing,
|
Hah, I think this was fixed in the last pipewire version, 0.3.54. I was checking out the release notes and they include:
I have updated and it does work for me, at least. Can you confirm, @Aerion? |
On my side, muting triggers a Thus the on |
The PR #64 introduced the
on client
pattern to the command ingrep
. However, that ends up consuming lots of CPU power even when the script isn't being used. For instance, I geton client
events when playing music, which shouldn't update.The easy fix would be to just remove
on client
from the patterns. However, we added that because without it, the microphonelisten
function didn't work in some specific cases. I'm still not sure which cases these are, though.This was reported by Viterzgir at https://aur.archlinux.org/packages/pulseaudio-control.
/cc @Aerion
The text was updated successfully, but these errors were encountered: