kdelibs API change: Solid::AudioInterface::driverHandle()
Kevin Ottens
ervin at kde.org
Mon Jul 9 17:45:14 BST 2007
Le lundi 09 juillet 2007, Matthias Kretz a écrit :
> I'd like to get the attached API change into kdelibs (today would be great
> for my productivity, otherwise next week):
> - renames driverHandles to driverHandle and on the backend side
> driverHandler to driverHandles
> - instead of returing a QStringList it returns a QVariant now. The type of
> the QVariant depends on the AudioDriver. For ALSA it's a list of integers
> (cardnum, devicenum, subdevicenum), for OSS it's a string (e.g. /dev/dsp).
>
> Rationale: for ALSA you really want to know the numbers for the given
> hardware since you can construct many different ALSA devices from those
> numbers (default:0 or dmix:CARD=0,DEV=1 or
> surround51:CARD=0,DEV=0,SUBDEV=2).
We already discussed it, it's a no brainer for me. I support this change (the
sooner the better IMO).
Regards.
--
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070709/66542a66/attachment.sig>
More information about the kde-core-devel
mailing list