[Interest] QAudioDecoder mp3 problem
Jean-Michaël Celerier
jeanmichael.celerier at gmail.com
Wed Aug 31 14:31:07 CEST 2016
Are you on OS X ? QAudioDecoder is not supported here (sadly).
-------
Jean-Michaël Celerier
http://www.jcelerier.name
On Wed, Aug 31, 2016 at 10:28 AM, Alexander Dyagilev <alervdvcw at gmail.com>
wrote:
> 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(new QAudioDecoder());
>
> decoder->setSourceFilename("1.mp3");
>
> decoder->start();
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160831/5a2d8431/attachment.html>
More information about the Interest
mailing list