Bug 55078 - Set standard mixer device
Summary: Set standard mixer device
Status: RESOLVED FIXED
Alias: None
Product: kmix
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: HI normal
Target Milestone: ---
Assignee: Christian Esken
URL:
Keywords:
: 47110 58306 61905 88581 88700 92282 93565 96140 105217 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-23 19:42 UTC by Timo A. Hummel
Modified: 2006-09-18 12:21 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo A. Hummel 2003-02-23 19:42:30 UTC
Version:            (using KDE KDE 3.1)

It would be nice if the user could set his/her standard mixing device so the tray volume control could be used for a "default" device.

Example:

I got two sound cards (let's call it a and b). My default card is a, but the card I use for playback is b. When I click the tray icon, the volume control only controls the volume for the card a.
Comment 1 Christian Esken 2003-05-16 20:33:35 UTC
*** Bug 58306 has been marked as a duplicate of this bug. ***
Comment 2 Christian Esken 2003-09-23 23:35:19 UTC
*** Bug 47110 has been marked as a duplicate of this bug. ***
Comment 3 Christian Esken 2003-09-23 23:38:10 UTC
*** Bug 61905 has been marked as a duplicate of this bug. ***
Comment 4 ktom 2003-09-24 07:39:31 UTC
I do not agree bug 47110 (http://bugs.kde.org/show_bug.cgi?id=47110) being a 
duplicate of this whish! 
 
Depending on the implementation of this whish, one might be able to workaround 
bug 47110, but without user interventention, Kmix would by default still select 
the wrong mixer element. 
 
The behaviour as described in bug 47110 is still desierable: 
"e behaviour that I would is expect is that the mixer takes the master volume 
if there is one and if there is no master volume it should take the PCM 
volume." 
 
Thanks 
 
 
 
 
Comment 5 José JORGE 2004-02-24 09:13:28 UTC
It should allow to choose both the mixing device AND the master/pcm/bass whatever we want! My AC97 intel i810 doesn't changes the volume when I touch the master, it wants headphones level ;-)
Comment 6 Andy Kappen 2004-09-16 18:03:03 UTC
I have the same very frustrating experience with i810 based audio on my work machine.  Adjusting 'Volume' in kmix does nothing, but adjusting 'PCM' controls the volume just fine.  Being unable to define PCM as the 'default' channel in kmix leaves applet volume control and multimedia-key volume control useless.

How difficult would it be to allow for default channel selection in kmix?  I know that the equivalent gnome 2.4 tool allows you to choose the primary channel for volume control.  Why doesn't kmix?
Comment 7 Christian Esken 2005-01-02 01:04:12 UTC
*** Bug 88700 has been marked as a duplicate of this bug. ***
Comment 8 Christian Esken 2005-01-02 01:06:07 UTC
This problem affects more and more people. Raising Severity from wishlist to Normal.
Comment 9 Christian Esken 2005-01-02 01:59:41 UTC
*** Bug 93565 has been marked as a duplicate of this bug. ***
Comment 10 Christian Esken 2005-01-02 02:11:10 UTC
*** Bug 96140 has been marked as a duplicate of this bug. ***
Comment 11 Martin Melle 2005-01-22 12:06:11 UTC
Got the same Problem with my intel i810, need to pick the headphone volume as default, so that the kmix panel would be useful. The default selected Master is without function. Gnome mixer does this, and it woulf be great if kmix would do it also
Comment 12 Christian Esken 2005-02-04 22:34:57 UTC
Information: This feature is targeted for KDE3.4.1.
Comment 13 Christian Esken 2005-02-06 15:13:58 UTC
*** Bug 92282 has been marked as a duplicate of this bug. ***
Comment 14 Christian Esken 2005-04-27 23:10:36 UTC
For your information: If you compile KDE yourself from KDE HEAD you can start trying the requested feature now: Right-Click on the tray-icon and choose "Select Master". Now you can choose any channel you like on any of your supported soundcards. Please note that your choice is not saved yet (will be done soon).
Any comments should be directed to me via personal mail and not posted in this bugreport.
Comment 15 Christian Esken 2005-05-06 23:43:20 UTC
*** Bug 105217 has been marked as a duplicate of this bug. ***
Comment 16 Christian Esken 2005-06-12 00:02:29 UTC
Done. The feature is now available in SVN trunk. It will also ship with KDE3.4.2 .
Comment 17 Christian Esken 2005-06-12 00:10:40 UTC
SVN commit 424454 by esken:

CCBUG: 55078
Completed implementation of setting the Master Device (BUG 55078).
Source code cleanups (long vs. int, extra braces, ...), that please me and/or the Eclipse indexer.


 M  +13 -12    kmix.cpp  
 M  +11 -9     kmixerwidget.cpp  
 M  +8 -6      mdwslider.cpp  
 M  +10 -3     mixer.cpp  
 M  +4 -4      mixer_alsa9.cpp  
 M  +1 -1      mixer_oss.cpp  
 M  +9 -10     mixertoolbox.cpp  
 M  +1 -1      version.h  
Comment 18 Christian Esken 2005-06-18 12:03:21 UTC
*** Bug 88581 has been marked as a duplicate of this bug. ***
Comment 19 Joe Crollard 2005-06-21 09:57:13 UTC
Still doesn't appear to save the correct channel..unless it's just me.
Comment 20 Joe Crollard 2005-06-21 09:57:53 UTC
Thanks for all the work so far on this though!
Comment 21 Christian Esken 2005-07-11 00:58:08 UTC
About Comment 19 (Joe Crollard): It works reliably here and on several other Linux boxes. Probably not every code piece was commited at the time of your writing.
Thus I'll close this bug report soon. If you encounter problems, we can reopen this bug report afer KDE3.4.2.
Comment 22 Christian Esken 2005-07-11 01:47:07 UTC
SVN commit 433489 by esken:

Backport of the trunk version. It fixes several bugs and fulfills some
wishes as noted below:

BUGS:90930
BUGS:96821
BUGS:100173
BUGS:101742
BUGS:105476
BUGS:105650
BUGS:87778
BUGS:98818
BUGS:101870
BUGS:108043
FEATURE:42643
FEATURE:55078
FEATURE:105241
GUI:The change of orientation will be adopted on the next start of KMix.


 M  +0 -2      KMixApp.cpp  
 M  +10 -9     Makefile.am  
 A             dialogselectmaster.cpp   [License: LGPL (v2+) (wrong address)]
 A             dialogselectmaster.h   [License: no copyright]
 M  +2 -1      dialogviewconfiguration.h  
 M  +12 -10    kmix-platforms.cpp  
 M  +51 -34    kmix.cpp  
 M  +1 -3      kmix.h  
 M  +22 -23    kmixapplet.cpp  
 M  +1 -2      kmixapplet.h  
 M  +5 -4      kmixctrl.cpp  
 M  +73 -12    kmixdockwidget.cpp  
 M  +3 -0      kmixdockwidget.h  
 M  +72 -108   kmixerwidget.cpp  
 M  +8 -9      kmixerwidget.h  
 M  +8 -7      kmixprefdlg.cpp  
 M  +6 -7      kmixtoolbox.cpp  
 M  +1 -1      main.cpp  
 M  +8 -6      mdwslider.cpp  
 M  +6 -0      mixdevice.cpp  
 M  +1 -1      mixdevice.h  
 M  +212 -219  mixer.cpp  
 M  +40 -71    mixer.h  
 M  +10 -5     mixer_alsa.h  
 M  +76 -26    mixer_alsa9.cpp  
 A             mixer_backend.cpp   [License: no copyright LGPL (v2+) (wrong address)]
 A             mixer_backend.h   [License: no copyright LGPL (v2+) (wrong address)]
 M  +9 -20     mixer_hpux.cpp  
 M  +6 -5      mixer_hpux.h  
 M  +10 -13    mixer_irix.cpp  
 M  +7 -6      mixer_irix.h  
 M  +9 -10     mixer_none.cpp  
 M  +6 -5      mixer_none.h  
 M  +16 -24    mixer_oss.cpp  
 M  +7 -5      mixer_oss.h  
 M  +22 -32    mixer_sun.cpp  
 M  +7 -6      mixer_sun.h  
 M  +99 -61    mixertoolbox.cpp  
 M  +1 -0      mixertoolbox.h  
 M  +1 -1      version.h  
 M  +1 -1      viewapplet.cpp  
 M  +1 -1      viewbase.cpp  
 M  +2 -1      viewbase.h  
 M  +2 -10     viewdockareapopup.cpp  
 M  +4 -4      volume.cpp  
Comment 23 Douglas Russell 2005-08-26 10:41:32 UTC
I love this feature. You're the man.
Comment 24 Elmar Stellnberger (AT/K) 2006-09-18 12:21:50 UTC
The main volume control is set to PC speaker by standard. Turning it seems to have no effect. It think it should point to the "Front"-slider of my sound card by default!!