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. QML Audio loop and short delay during restart

QML Audio loop and short delay during restart

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 277 Views 1 Watching
  • 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.
  • FalsinSoftF Offline
    FalsinSoftF Offline
    FalsinSoft
    wrote on last edited by
    #1

    Hi all

    I need to have a continuous rain background in my app. I found a small mp3 with rain sound and used Audio items with infinite loop as follow:

    Audio {
        source: "qrc:/Rain.mp3"
        loops: Audio.Infinite
    }
    

    The problem is when the sound finish and restart there is a small pause of around half second that doesn't allow to have a "continuous" rain sound effect. How could I "fix" this delay for allow the sound to be continuous? Using SoundEffect is not a good solution because it accept only .wav and in some system, like Android, the memory space available for fast sound used by SounfEffect is very limited....

    Thank you

    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