<div dir="ltr"><div><div>@Jonni: Yes, audio in my VM is enabled. It's not that MediaPlayer doesn't play the sound, it crashes... error: no reference to service or something like that.<br><br></div>@Micheal: That's my point: MediaPlayer doesn't work in the VM.<br><br></div>Cheers<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-25 14:19 GMT+01:00 Michael Neufing <span dir="ltr"><<a href="mailto:michael@neufing.org" target="_blank">michael@neufing.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br>
<br>
For other audio formats, use MediaPlayer [2].<br>
<br>
[1] <a href="http://doc.qt.io/qt-5/qml-qtmultimedia-soundeffect.html#details" target="_blank">http://doc.qt.io/qt-5/qml-<u></u>qtmultimedia-soundeffect.html#<u></u>details</a><br>
[2] <a href="http://doc.qt.io/qt-5/qml-qtmultimedia-mediaplayer.html" target="_blank">http://doc.qt.io/qt-5/qml-<u></u>qtmultimedia-mediaplayer.html</a><br>
<br>
--<br>
*Michael Neufing*<br>
<br>
Zitat von <a href="mailto:peter.pykalainen@gmail.com" target="_blank">peter.pykalainen@gmail.com</a>:<div class="HOEnZb"><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I got SoundEffect to work only with .wav -files. mp3 did not work for me.<br>
<br>
Luis Manuel Ramos Da Costa kirjoitti ke helmikuuta 25 17:36:34 2015 GMT+0700:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Florian,<br>
<br>
Have you tried with SoundEffect ? I had problems with Audio and now I am<br>
using SoundEffect, maybe this can work.<br>
<br>
Best Regards,<br>
Luis Da Costa<br>
<br>
2015-02-25 6:21 GMT+00:00 Florian Desneux <<a href="mailto:florian.desneux@gmail.com" target="_blank">florian.desneux@gmail.com</a>>:<br>
<br>
> Hello,<br>
><br>
> Do you plan a support for QML QtMultimedia (mediaPlayer) for the VM?<br>
><br>
> If been told on the Jolla forum that it's not supported.<br>
><br>
> Is there a way to play mp3 sound in QML on Sailfish or nothing exists for<br>
> the moment on the VM?<br>
><br>
> I'm on Windows btw.<br>
><br>
> Regards<br>
><br>
> P.S.: first time I post through a mailing list :) There is always a first<br>
> time you will say...<br>
><br>
><br>
> --<br>
> *Florian Desneux*<br>
><br>
><br>
> ______________________________<u></u>_________________<br>
> SailfishOS.org Devel mailing list<br>
> To unsubscribe, please send a mail to<br>
> <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.<u></u>sailfishos.org</a><br>
><br>
<br>
</blockquote>
<br>
--<br>
// Peter Pykäläinen<br>
Lähetetty Jollastani<br>
______________________________<u></u>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.<u></u>sailfishos.org</a><br>
</blockquote>
<br>
<br>
______________________________<u></u>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.<u></u>sailfishos.org</a></div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div style="font-size:13px;color:rgb(80,0,80)"><font color="#663300" face="georgia, serif"><b>Florian Desneux</b></font></div></div></div>
</div>