Hi Zoltan, You should install the media backend for QtMultimedia in the emulator. Try installing qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer and/or qt5-qtmultimedia-plugin-audio-pulseaudio.
Cheers Dmitriy On Tue, Sep 26, 2017 at 10:48 PM, Zoltán Lutor <zoltan.lu...@gmail.com> wrote: > as pointed out @Together.com > <https://together.jolla.com/question/167894/devel-qml-audio-issues-on-sailfish/>, > no issues on real divice, QML Audio works - but emulator gives this warning > (and no sound)... > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon> > Virus-free. > www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link> > <#m_-105307394941318761_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > 2017-09-25 21:06 GMT+02:00 Zoltán Lutor <zoltan.lu...@gmail.com>: > >> not really... >> >> I can recall there were some issues from playing audio from qrc - maybe >> with 5.6 - but I do not remember the details... >> >> Anyway, what is the preferred way to play audio in Sailfish? >> >> Br, >> >> Zoltan >> >> >> 2017-09-25 17:54 GMT+02:00 Tone Kastlunger <users.giulie...@gmail.com>: >> >>> Have you tried against vanilla 5.6 qt? >>> >>> On Mon, Sep 25, 2017 at 6:38 PM, Zoltán Lutor <zoltan.lu...@gmail.com> >>> wrote: >>> >>>> HI, >>>> >>>> I'm porting our game >>>> <https://play.google.com/store/apps/details?id=com.forfictionmobile.goobleinvasion&hl=en> >>>> from Android to Sailfish and faced one issue: game audio does not play. >>>> >>>> [W] unknown:0 - defaultServiceProvider::requestService(): no service >>>> found for - "org.qt-project.qt.mediaplayer" >>>> >>>> Solution was OK on Android with Qt 5.9: http://doc.qt.io/qt-5/qml-qtmu >>>> ltimedia-audio.html >>>> Any suggestion/working example? >>>> >>>> Br, >>>> >>>> Zoltan@FORFICTIONmobile >>>> >>>> >>>> >>>> _______________________________________________ >>>> SailfishOS.org Devel mailing list >>>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi >>>> shos.org >>>> >>> >>> >>> _______________________________________________ >>> SailfishOS.org Devel mailing list >>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi >>> shos.org >>> >> >> > > _______________________________________________ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscribe@lists. > sailfishos.org >
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org