| Summary: | kmix : icon does not change when mute is checked or unchecked | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Francois Andriot <albator78> |
| Component: | tdemultimedia | Assignee: | Michele Calgaro <michele.calgaro> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | albator78, bugwatch, darrella, michele.calgaro, q4os, slavek.banko |
| Priority: | P5 | ||
| Version: | 3.5.13.x [Trinity] | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | |||
| Bug Blocks: | 2247 | ||
| Attachments: | kmix 3.5.13.2 : fix icon change on muting/unmuting | ||
|
Description
Francois Andriot
2013-05-10 15:08:10 CDT
Created attachment 1254 [details]
kmix 3.5.13.2 : fix icon change on muting/unmuting
It's strange - for me it works correctly without this patch. Fixed in GIT hash c4ec71ca. The kmix icon already toggles correctly on my R14 GIT system without the patch. I re-open this bug since the patch, while helping, does not solve the root cause. On my laptop computer, I have a "mute" button. When I press the "mute" button, the kmix icon is not updated. The sound is correctly muted, the right-click in kmix icon shows that "Mute" is checked, but the icon is still the "unmuted" icon. If I close kmix then reopen, I have the correct icon. But after startup, the icon is never updated again. OK I've found it's related to using Pulseaudio. Yes I'm using Pulseaudio and wanting to keep it :-) How to reproduce on my computer: 1) Stop kmix (if running), and start pulseaudio (if not running) 2) Delete ~/.trinity/share/config/kmix* 3) Run kmix 4) Try mute/unmute: Sound is muted/unmuted correclty (I can see that pulseaudio output is muted using pulseaudio specific utility), but Kmix icon is not refreshed. Now stop kmix. Check "kmixrc". It says (among others): MasterMixer=ALSA::PulseAudio:1 Check "kmixctrlrc". It says (among others): [MixerPulseAudio.Dev0] is_muted=0 is_recsrc=0 name=Master volumeL=21952 volumeR=29274 [MixerPulseAudio.Dev1] is_muted=0 is_recsrc=0 name=Capture volumeLCapture=0 volumeRCapture=0 So here we see that "Dev0" is Master, and "Dev1" is "Capture". So why does "kmixrc" use "ALSA::Pulseaudio::1" as default master ??? It should have selected "ALSA::Pulseaudio::0" ... Now set KMIX Master channel to "HDA intel / Master". Instantly (no restart required), everything works fine. including the icon refresh. (of course sound control does not affect Pulseaudio now but Alsa directly ...) And now the weirdest thing ! Without quitting Kmix, switch again Master channel to "Pulseaudio/ master". And then it works perfectly. Kmix controls pulseaudio output (confirmed via PA utility) AND the kmix icon is correclty updated.... If I close kmix then open it again, the icon-not-refreshing issue is back ... Changing status back to NEW for too long inactivity The actual problem is the lack of Pulseaudio support in KMix. When KMix uses Pulseaudio's alsa redirection, the bug occurs. When disabling entirely pulseaudio and using real Alsa, the bug does not occur. I can confirm this bug as exactly as described in the OP. I guess it's related to Pulseaudio, as described in the comment #6 https://bugs.trinitydesktop.org/show_bug.cgi?id=1505#c6 Duplicate of bug 3110, which has now been fixed. *** This bug has been marked as a duplicate of bug 3110 *** In addition to this, inital support for PulseAudio has been added into R14.1.0 and more work is planned for R14.2.0. See bug 3052 for a nice summary (https://bugs.pearsoncomputing.net/show_bug.cgi?id=3052#c5) |