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. Problem with QML Audio

Problem with QML Audio

Scheduled Pinned Locked Moved Solved QML and Qt Quick
4 Posts 2 Posters 864 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.
  • ibiaI Offline
    ibiaI Offline
    ibia
    wrote on last edited by
    #1

    Good morning to everyone. I have a little problem with QML Audio type : I want to play music in the background of a game. So I used the Audio component and set loop property to Audio.Infinite. The problem is that the media does not play as quick as I want when looping. There is about 0.5 second of latency before the media begins. Itried to used the notifyInterval property to speed up this effect, but the IDE tells that the property is not defined, despite the fact i installed qt 5.10. Please help me. I have to finish this functionnality as quick as possible.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Make sure your importa statement is up to date: import Qt.Multimedia 5.10.

      If it does not help, try playing audio from C++, you should have move control over it there.

      (Z(:^

      1 Reply Last reply
      0
      • ibiaI Offline
        ibiaI Offline
        ibia
        wrote on last edited by ibia
        #3

        Thank you !! The QtMultimedia 5.9 is installed on my computer and it includes the notifyInterval property but Qt.Multimedia 5.10 does not exists. There is not a dot (" . ") between Qt and Multimedia.

        sierdzioS 1 Reply Last reply
        0
        • ibiaI ibia

          Thank you !! The QtMultimedia 5.9 is installed on my computer and it includes the notifyInterval property but Qt.Multimedia 5.10 does not exists. There is not a dot (" . ") between Qt and Multimedia.

          sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          @ibia said in Problem with QML Audio:

          Qt.Multimedia 5.10 does not exists

          yes, I think the devs forgot to bump the version, it will be fixed in 5.10.1. But if 5.9 works for you, that's great :)

          (Z(:^

          1 Reply Last reply
          1

          • Login

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