Summary: | kmix misidentifies the control that controls master volume (ALSA, fm801) | ||
---|---|---|---|
Product: | [Applications] kmix | Reporter: | Alexander Patrakov <patrakov> |
Component: | general | Assignee: | Christian Esken <esken> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.91 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Alexander Patrakov
2003-07-31 15:47:47 UTC
1) Looks like Bug 47110 and Bug 57949 are related to this one. Feel free to mark this as a dupe. 2) The current magic to find out the master control is just wrong. m_masterDevice = snd_mixer_selem_id_get_index( sid ); This number has nothing to do with the position of the slider! It is always 0 or 1 on fm801, even not for masters! It is 0 for "Master" and 1 for "Master 1", 0 for "Master Mono" and 1 for "Master Mono 1", etc. The correct magic seems as follows. If the zeroth control is called "Master", use it. If it isn't, it means that there is no master, use nothing. Of course, the user must have freedom to override that choice from the configuration dialog and even "glue" different controls together. I know this is slightly different from Bug #55078, but it is similar enough for me to mark it as duplicate. *** This bug has been marked as a duplicate of 55078 *** |