Qsound in ubuntu
-
Hi,
I using ubuntu desktop developing application for my embedded systems. When I tried QSound in Ubuntu desktop it doesn't worked. So I checked as follows. I gave output as false.
@
static QSound mysound("/media/sounds/Music.wav"); //The path of sound file is absolute.
qDebug() << mysound.isAvailable();
@So my questions are:
Does QSound is available for desktop versions such as ubuntu?
Or I am doing anything wrong?Regards,
Sathishkumar D[EDIT: code formatting, please use @-tags, Volker]
-
Don't use QSound at all. Use phonon or Qt Multimedia if they fit your needs, otherwise any other sound library will do.
-
Thanks Peppe,
My platform supports QtMultimedia. I going to use that.
Regards,
Sathishkumar D -
In between driven by curiosity, whats the problem with QSound? Why it doesn't working? (Just ignore this post, if it is irrelevant)
Regards,
Sathishkumar D -
It's old, bugged, supports basically one file format, has a cumbersome API, and requires NAS under Linux (which is something that isn't installed by default since like 1999).
-
Thanks Peppe.