[Interest] QAudioDecoder mp3 problem
Alexander Dyagilev
alervdvcw at gmail.com
Wed Aug 31 10:28:23 CEST 2016
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();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160831/021dcd26/attachment.html>
More information about the Interest
mailing list