Selecting sound card in kmix

Christian Esken esken at kde.org
Mon May 18 10:22:36 BST 2009


Am Samstag 16 Mai 2009 11:16:24 schrieb Wolfgang Klein:
> Christian Esken wrote:
> > If user A sets the Master to an appropriate control on card X,
> > and user B sets the Master to an appropriate control on card Y
> > this results in the folowing behaviour:
> >
> > The user can then control the volume with the Dock Icon.
> >
> > If you need it also in the Main Window, then you must use a more recent
> > version of KMix, like the one from KDE4.2.
>
> I am sorry, but that's not quite what I meant. I know that each user can
> open kmix's main window and select his/her card manually. But I want
> kmix to pre-select a certain card, so the appropriate user does not have
> to open the main window and does not have to select his card manually,
> before he can use the dock icon to control the volume. So I am looking
> for some kind of "kmix -card x" or "dcop kmix select card x".

Ah, you mean dynamically. The question is, whether a DCOP call would really 
solve your needs. If you do it during the login phase of the user, KMix might 
not be completely up.  OTOH you want to have it as soon as possible.

The only reliable option for today is to modify "MasterMixer" and 
"MasterMixerDevice" in the users kmixrc configuration file. This  has to be 
done before KMix is launched for the user (this could mean to modify the 
startkde script).

> Switching to kde4 is not an option.

It wouldn't help in this case. But in general, you should consider doing that, 
as work on various components (incl. KMix) has been stopped on the KDE3 
branch. I am personally running a fine mix of the KDE4 desktop sprinkled with 
some KDE3 apps.

  Christian



More information about the kde-multimedia mailing list