kdelibs API change: Solid::AudioInterface::driverHandle()

Matthias Kretz kretz at kde.org
Mon Jul 9 16:54:08 BST 2007


Hi,

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).

-- 
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: audiointerface.patch
Type: text/x-diff
Size: 5207 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070709/0eff7d01/attachment.patch>
-------------- 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/0eff7d01/attachment.sig>


More information about the kde-core-devel mailing list