-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
[2.4] [Bug] AudioProfiles plugin doesn't work #2331
Comments
Cannot reproduce. |
No idea. I'd tell you to gather the values and try the You are absolutely sure that |
See it in 2.4.1. |
I'm seeing this in journalctl when I try to change the audio profile via the applet (on Budgie desktop), in the app itself it's fine:
The menu closes normally after clicking. No output (apart from the starting messages) with |
Thanks for the data, @Staudey. Good catch and, ouch, I do have an idea what's going on. Checking e.g. |
@Staudey , is your problem always reproducible? |
@kuraga It was indeed not always reproducible, BUT @cschramm when I checked just now it was only up to index |
The issue is clear then. I'll look into a fix. It's probably PipeWire, not genuine pulseaudio, right? Does it count up or are indexes somehow random? I mean, even if you never properly shut down your system and re-connect your headphones like five to ten times a day, it would still take a couple of months to get to spheres like 800. |
@cschramm , |
Yes, it's pipewire. It does count up with every reconnect, but by a random amount (up to ~50 per step) |
We build a (32 bit) ID for the menu item from its priority values, using the sub priority as the lower 8 bits. Pulseaudio card indexes are theoretically 32 bit and PipeWire re-assignes them with large gaps on re-connect so that it provides high 3-digit numbers in practice that do not fit the 8 bits. Closes blueman-project#2331
We build a (32 bit) ID for the menu item from its priority values, using the sub priority as the lower 8 bits. Pulseaudio card indexes are theoretically 32 bit and PipeWire re-assignes them with large gaps on re-connect so that it provides high 3-digit numbers in practice that do not fit the 8 bits. Closes blueman-project#2331
We build a (32 bit) ID for the menu item from its priority values, using the sub priority as the lower 8 bits. Pulseaudio card indexes are theoretically 32 bit and PipeWire re-assignes them with large gaps on re-connect so that it provides high 3-digit numbers in practice that do not fit the 8 bits. Closes #2331
We build a (32 bit) ID for the menu item from its priority values, using the sub priority as the lower 8 bits. Pulseaudio card indexes are theoretically 32 bit and PipeWire re-assignes them with large gaps on re-connect so that it provides high 3-digit numbers in practice that do not fit the 8 bits. Closes blueman-project#2331
I can confirm that the issue is fixed with this patch. Just successfully switched audio profiles through the tray icon when the index of my card was |
We build a (32 bit) ID for the menu item from its priority values, using the sub priority as the lower 8 bits. Pulseaudio card indexes are theoretically 32 bit and PipeWire re-assignes them with large gaps on re-connect so that it provides high 3-digit numbers in practice that do not fit the 8 bits. Closes blueman-project#2331
blueman: 2.4
BlueZ: 5.72
Distribution: Calculate Linux (Gentoo-based)
Desktop environment: XFCE 4.18
Clicking on the
AudioProfiles
plugin's applet menu items doesn't change anything.There is no any console output.
(Clicking on the manager context menu items seems to switch the profile normally.)
The text was updated successfully, but these errors were encountered: