Hello,

I'm trying to decode an mp3 file. Getting ServiceMissingError ("The QAudioDecoder object does not have a valid service").

At the same time QMediaPlayer can play the file.

Am I doing something wrong?

The code:

QSharedPointer<QAudioDecoder>decoder(newQAudioDecoder());

decoder->setSourceFilename("1.mp3");

decoder->start();

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to