On Fri, Mar 4, 2016 at 12:46 AM, Peter Bittner <[email protected]> wrote: > Cool, that actually works with web apps, sweet! Now I've enabled > sound-always-on in 2 of my apps, nice! [1,2] > > Oli, is this feature also available with your ogra container? In > another web app I'm using the qmlscene executable [3]. Any easy method > the get audio working with the media-hub here too?
All the --enable-media-hub-audio parameter does in the webapp container is set the value of the OXIDE_ENABLE_MEDIA_HUB_AUDIO environment variable to 1. AFAIK there’s no way to do that in pure QML, but with a lightweight C++ wrapper for your app, you could achieve the same result (see https://doc.qt.io/qt-5/qtglobal.html#qputenv). HTH, Olivier -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp

