-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Volume hotkeys target wrong device #141
Comments
That sounds like an issue with pulseaudio not always detecting that the default audio device has changed rather than with anything that is maintained by MATE. |
Audio output works fine though, sound is correctly routed to the newly attached sound device by pulseaudio, but the hotkeys don’t affect it. For example, in mate-volume-control the new device is selected as the current output device under the “Output” tab but the Output volume slider (at the top) doesn’t move when I press the volume hotkeys. It does move though when I choose the internal audio device. |
OK, at this point I don't know enough about it ti determine whether this
in mate-media or libmatemixer (updating some but not all default sound
card variables), or in an underlying library. Hopefully someone on our team
will know more.
…On 7/29/2019 at 2:31 AM, "Andre" ***@***.***> wrote:
Audio output works fine though, sound is correctly routed to the
newly attached sound device by pulseaudio, but the hotkeys don’t
affect it. For example, in mate-volume-control the new device is
selected as the current output device under the “Output” tab but
the Output volume slider (at the top) doesn’t move when I press
the volume hotkeys. It does move though when I choose the internal
audio device.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#141 (comment)-
515863139
|
@knochenhans - is it possible for you to test the changes in #142 to see if they fix the issue for you? I don't have a secondary output device to test this with, so I just coded it blindly... |
I think i can reproduce the issue when i plugin my usb-headset (soundcard) in a running MATE session. Now testing PR...... |
Hmm, |
I've never once seen something like this happen on say, setting up HDMI sound and then setting back to my normal soundcard. Similarly, the laptop has no working internal sound, can use a USB soundcard or external HDMI sound, and whichever one is in use the volume control controlled the last time I had to play with that. Thus, I have never been able to duplicate this |
I just tested this with the desktop, toggling between the HDMI and soundcard outputs with the applet in the panel (not the older volume control tray icon) , and finally DID get this issue. Turned out though that what it took to get the new sound device recognized by the hotkeys was to restart mate-settings-daemon, both with and without #142 EDIT: with #142 installed I was from then on able to switch sound devices freely with the hotkeys keeping up, just had to restart m-s-d after installing to have a valid test it seemed due to the hotkeys being provided by the media-keys plugin there. This was a bit complex to figure out but I think I got it |
Expected behaviour
After attaching a usb soundcard the volume hotkeys should point to the attached soundcard if it set as the default audio output device.
Actual behaviour
After attaching a usb soundcard the volume hotkeys change the internal soundcard’s volume, not the usb soundcard’s volume (which is set as the default audio output device).
Steps to reproduce the behaviour
Attach a usb soundcard, try changing the output volume via volume up/down hotkeys. This problem only occurs from time to time.
MATE general version
1.22.1
Package version
1.22.1-1
Linux Distribution
Arch Linux
Is there any way to manually change what device the volume hotkeys target? That would be a big help already :)
The text was updated successfully, but these errors were encountered: