[Development] QML Audio on Android
Alan Ezust
alan.ezust at gmail.com
Wed Feb 5 21:52:07 CET 2014
I have the same question.
Interesting that assets:/ is used in both android and blackberry 10...
It would be nice if we could get assets:/ to work on the desktop platforms
also,
perhaps by packaging the assets into an accompanying .zip file so it
doesn't cause memory bloat on the executable.
On Tue, Feb 4, 2014 at 2:40 PM, Bruno Coudoin <bruno.coudoin at gcompris.net>wrote:
> Le 04/02/2014 08:51, nicola at nicoladefilippo.it a écrit :
> > Hi,
> > put your file in android/assets directory and from qml:
> >
> > MediaPlayer {
> > id: playMusic
> > source: "assets:/example.mp3"
> > }
> >
>
> Thanks, it works, next question, what is the proper way to manage a list
> of sounds in a platform independent way at the .pro level.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140205/51c92b51/attachment.html>
More information about the Development
mailing list