SoundEffect QML not working on Android



  • Hi,

    I am trying to play an audio in Android phone and it doesn't play anything:

        SoundEffect
        {
            id: playSound
            source: "qrc:/assets/music.wav"
        }
    

    On .pro file I add QT += multimedia and I am getting this messages on Applicationn output:

    W linker : Warning: "/data/data/org.qtproject.example.XXXX/qt-reserved-files/plugins/audio/libqtaudio_opensles.so" has unsupported flags DT_FLAGS_1=0x80 (ignoring unsupported flags)

    W AudioTrack: AUDIO_OUTPUT_FLAG_FAST denied by server; frameCount 0 -> 1764
    I AudioTrack: Need throttle time for OpenSLES player
    I AudioTrack: updateAudioTranstionLength FadeIn[0] FadeOut[0] FadeInRing[0]

    Any idea?


 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.