PDA

View Full Version : Phonon Music Player example



pssss
15th March 2011, 20:12
I'm on Windows using Qt Creator, MSVC 2008 library and jom.


I compiled the Phonon Music Player and it works perfectly but not for all the mp3 files. I knew it wouldn't play every video format but mp3 is standard and as far as I know there is only one mp3 codec.

I've tried to find what the differences are among the files that do and don't play and there isn't anything I see. Bitrate for example doesn't seem to be related.

The error I get when one doesn't play is this:

No combination of filters could be found to render the stream. (0x80040218)



Does anyone have the same problem? How can I fix it?


I think I should mention that the mp3 files play well with Windows Media Player in case that makes a difference.

jwchen08
19th March 2011, 15:30
Well, the phonon module can play mp3 files on my PC. I use Qt creator instead of vs2008, have you ever add
"QT += phonon" in the project file?