Choosing a Phonon backend
Luciano Montanaro
mikelima at cirulla.net
Fri Mar 21 15:27:40 GMT 2008
On Friday 21 March 2008 15:48:00 Tanguy Krotoff wrote:
> On Fri, Mar 21, 2008 at 2:23 PM, Luciano Montanaro <mikelima at cirulla.net>
wrote:
> > There is a control panel to configure phonon and select the backend.
> > So the user can choose.
>
> Under KDE4 I guess, but under Windows with Qt-4.4 (i.e without KDE4
> installed)?
>
> > Still, given the different feature set of the various backends, it
> > should be possible for the application to query which backend has been
> > selected -- or, better -- to ask for specific features being present. At
> > least, I've found I'd need to know.
>
> Huhu pretty smart.
> But quite ugly. A simple function like QString backendSelected =
> Phonon::setPreferedBackendList(QStringList backendNames) would be way
> better!
The problem with that is that the backend that I "prefer" now may not be the
one that will be best six months down the road. And if I develop my
application on Linux, I may not know which backend is best on MacOS or
Windows. So I'd rather be able to say "I need a backend that can play n sound
objects at the same time" or "a backend that can play ogg flac files".
Luciano
More information about the kde-multimedia
mailing list