If you read the documentation of the QML SoundEffect element [1], then you can see, that only uncompressed sound files (WAV) are supported by it.

For other audio formats, use MediaPlayer [2].

[1] http://doc.qt.io/qt-5/qml-qtmultimedia-soundeffect.html#details
[2] http://doc.qt.io/qt-5/qml-qtmultimedia-mediaplayer.html

--
*Michael Neufing*

Zitat von peter.pykalai...@gmail.com:

I got SoundEffect to work only with .wav -files. mp3 did not work for me.

Luis Manuel Ramos Da Costa kirjoitti ke helmikuuta 25 17:36:34 2015 GMT+0700:
Dear Florian,

Have you tried with SoundEffect ? I had problems with Audio and now I am
using SoundEffect, maybe this can work.

Best Regards,
Luis Da Costa

2015-02-25 6:21 GMT+00:00 Florian Desneux <florian.desn...@gmail.com>:

> Hello,
>
> Do you plan a support for QML QtMultimedia (mediaPlayer) for the VM?
>
> If been told on the Jolla forum that it's not supported.
>
> Is there a way to play mp3 sound in QML on Sailfish or nothing exists for
> the moment on the VM?
>
> I'm on Windows btw.
>
> Regards
>
> P.S.: first time I post through a mailing list :) There is always a first
> time you will say...
>
>
> --
> *Florian Desneux*
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>


--
// Peter Pykäläinen
Lähetetty Jollastani
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to