Request for a small API change in Phonon

Thierry Bastian thierry.bastian at trolltech.com
Thu Nov 1 14:32:18 GMT 2007


Hello,

 

After discussing with Matthias, we found out a little API problem in the
backend for Phonon. The backend is supposed to return handles (actually
integers) to audio devices.

At the same time, the order in which they are passed is also important
because it determines which device will actually be used depending on the
category of app (video, music, communication.). So the problem is actually
that the BackendInterface defines objectDescriptionIndexes to return a QSet
where it should return an (ordered) QList.

 

You can see the attached patch. Though breaking source and binary compat,
the change is very small and affects only the backend part which is mostly
used by Matthias and us (Trolltech).

 

Any comment is welcome.

 

Best Regards,

Thierry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071101/91331670/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phonon-backend.patch
Type: application/octet-stream
Size: 1817 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071101/91331670/attachment.obj>


More information about the kde-core-devel mailing list