Version: (using KDE KDE 3.5.5) Installed from: Ubuntu Packages OS: Linux i have two sound cards, and whenever i set the master channel to the second one, the value is stored to kmixrc correctly, but kmix doesn't honor the settings on the next start. the master channel is always set to the default (first) sound card it can find.
Created attachment 18877 [details] fixes problem with loading right config for more than one sound card this works for me; the problem was that setMasterCard() tried to use the "mixer" list before it has been entirely filled
Already fixed. Please see https://bugs.kde.org/show_bug.cgi?id=136378#c33 . The patch I did is pretty much identical, but instead of using the defaultPrimaryKey thing, I am just using the first mixer via Mixer::mixers().first()->id() .
Created attachment 18884 [details] fixes problem with loading right config for more than one sound card the patch from https://bugs.kde.org/show_bug.cgi?id=136378#c33 doesn't solve my problem, because it still calls setMasterCard before the mixer structure is filled completely. setMasterCard has to be called after the loop over the sound cards, i believe. this patch now uses Mixer::mixers().first()->id() in setMasterCard, similar to the patch mentioned above
reopening - reason is in #3
Hi, why do you claim that "it still calls setMasterCard before the mixer structure is filled completely". It is not. Have you read and understood the patch?!?
Sorry for any inconvenience, i was a bit to hasty... of course it works. regards, daniel
*** Bug 142409 has been marked as a duplicate of this bug. ***