Hello, $username!

I'm using Phonon::videoPlayer from Windows+Qt 4.6 in my music player project as core of it.

The bug is that some mp3-files cannot be opened and Phonon::videoPlayerInstance->mediaObject()->errorString() is:
the operation cannot be performed because the pins are not connected ($80040209)
I tried to pick out the plot of error-generating code, so its something like this:
Qt Code:
  1. Tester::Tester(QApplication *starter = 0)
  2. {
  3. this->starter = starter;
  4.  
  5. core.mediaObject()->setTickInterval(1000);
  6. sources.clear();
  7.  
  8. connect(core.mediaObject(), SIGNAL(stateChanged(Phonon::State, Phonon::State)),
  9. this, SLOT(stateChanged(Phonon::State, Phonon::State)));
  10.  
  11. QStringList list = QFileDialog::getOpenFileNames(0,"Phonon Test",".",tr("audios (*.mp3 *.wma *.ogg *.wave *.midi)"));
  12.  
  13. for (int i = 0; i < list.size(); i++){
  14. Phonon::MediaSource source(list.at(i));
  15. sources.insert(i,source);
  16. }
  17. core.mediaObject()->setCurrentSource(sources.at(0));
  18.  
  19. core.play();
  20. }
  21.  
  22. void Tester::stateChanged(Phonon::State newstate, Phonon::State oldstate)
  23. {
  24. if (newstate == Phonon::ErrorState) {
  25. QMessageBox::warning(0, "Phonon Mediaplayer",
  26. core.mediaObject()->errorString(),
  27. QMessageBox::Close);
  28. if (core.mediaObject()->errorType() == Phonon::FatalError) {
  29. starter->exit();
  30. } else {
  31. core.mediaObject()->stop();
  32. }
  33. }
  34. }
To copy to clipboard, switch view to plain text mode 

As you see, its just clean code with no extraordinary using of Qt.

Anybody knows, is it problem of Windows sound libraries or something else?