Comment 8 for bug 1493851

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Regarding the Unity 8's audioRole usage from QML:

---
    Component {
        name: "QDeclarativeAudio"
        prototype: "QObject"
        exports: ["QtMultimedia/Audio 5.0", "QtMultimedia/MediaPlayer 5.0"]
        exportMetaObjectRevisions: [0, 0]
...
 Property { name: "audioRole"; revision: 1; type: "AudioRole" }
---

So I guess it should be available with audioRole = MediaPlayer.NotificationRole (and Audio.NotificationRole) but the Audio.audioRole is being blocked because it's marked as revision: 1? Could someone have tell the proper way to use it, since it seems I wasn't able to guess correctly?