From kde-core-devel Sun Oct 08 19:40:14 2006 From: Thiago Macieira Date: Sun, 08 Oct 2006 19:40:14 +0000 To: kde-core-devel Subject: Re: RFC: KDE4, KMix and a public Mixer API (possibly freedesktop.org) Message-Id: <200610082140.24096.thiago () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=116033647121748 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart6870736.Oi7XSMImKg" --nextPart6870736.Oi7XSMImKg Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Christian Esken wrote: >I am currently working on a Mixer Service API for KDE4. >The API is targeted at mixer services (like kmixd), a Mixer (like kmix) > and several MM apps. It can be used for changing volumes, retrieving > volume changes, querying for mixers, detecting hot-plugged > soundcards/mixers and some more services. Detecting mixers would be nice, but I fail to see why we need this API as=20 a D-Bus service, rather than something ALSA provides. I am probably=20 missing something, as I am not familiar with multimedia architectures. Is it by any chance because we can have software mixers? >The API is noted in DBUS style (fully conversion of the signals open > yet) What do you mean by this parenthesis? > , and meant as a RFC. It will be changed and extended as comments=20 > flow in (for example I would like to add keyboard shortcut management, > as currently 3-n applications fight e.g. for the XF86AudioRaiseVolume > shortcut). > >Comments are always welcome, > Christian > >PS: People normally expect to see a lot of UDI stuff in the API But the > UDI is used as little as possible. This is because it is "unstable" in > the sense that it might change when unplugging and hotplugging again. > For the same reason the UDI cannot be used in finding an appropriate > configuration for a device, and so on. So the mixer server hides the > UDI, and is responsible for creating a more "stable" ID. Today I am > using the card name + instance number (e.g. "Sound_Fusion_CS46xx:0"). I just question the wisdom of adding "other" to the API. If you need to=20 extend it, then you can add new methods. Or a new interface. =2D-=20 =A0 Thiago Macieira =A0- =A0thiago (AT) macieira.info - thiago (AT) kde.org =A0 =A0 PGP/GPG: 0x6EF45358; fingerprint: =A0 =A0 E067 918B B660 DBD1 105C =A0966C 33F5 F005 6EF4 5358 --nextPart6870736.Oi7XSMImKg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFKVQoM/XwBW70U1gRAmcmAJ98KxiSfmqRyaw+yKy+y9UdwRFjWACgxWhQ dD6nHQ9e5lB8aEV6r7wgBWI= =9zJm -----END PGP SIGNATURE----- --nextPart6870736.Oi7XSMImKg--