Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. SoundEffect QML not working on Android
Forum Updated to NodeBB v4.3 + New Features

SoundEffect QML not working on Android

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 365 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • michaelLM Offline
    michaelLM Offline
    michaelL
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved