Hi,
I have problem with phonon module. I need to play some sound, but it does not work.
|
Source code
|
1
2
|
Phonon::MediaObject *music = Phonon::createPlayer(Phonon::MusicCategory, "sound.wav");
music->play();
|
It is not problem to compile it, but it does not play the sound. It writes this to output:
|
Source code
|
1
2
3
4
5
6
7
|
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to Phonon::AudioOutput ( no objectName ).
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
|
Please help me, I have found some forums on google with this problem, but I have not found any resolution.
And one next question: How can I control system volume? (mute / unmute).
I am working on Windows 7, I have tried mingw and VS2008 (compiled SDK from qt.nokia.com - Qt 4.6.2) and mingw on Windown XP, anything was not working.
Thanks for ansfers