Problem with qsound :(
-
i have my code like this
@QSound ss2sound("crap.wav");
QObject::connect(&SilentHill2, SIGNAL(clicked()), &ss2sound, SLOT (QSound::play()));
@
but sound doesn't play :( is it the format what is wrong with this iv spent all trying to figure this out -
the sound file doesn't work even if i do ss2sound.play();
i can't seem to get isavailable to work
and my operating system is windows 7 :)
my file format is wav
and iv tried abosulte path
-
yes :) media player classic
-
Have a look at" this thread":http://developer.qt.nokia.com/forums/viewthread/4468.
Seems that qsound is deprecated and you should use phonon or qtmultimedia instead.
-
iv used phonon before ill go try and work with that :D