kristinx1367
6th April 2011, 06:21
I am trying to use QSound. When I call isAvailable(), it returns to true. However, when I do newWav->play();, it plays the default Windows "error" bell. Here is my code:
newWav = new QSound(":/sounds/newGame.wav",this);
qDebug() << newWav->isAvailable();
newWav->play();
newWav = new QSound(":/sounds/newGame.wav",this);
qDebug() << newWav->isAvailable();
newWav->play();