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
Forum Updated to NodeBB v4.3 + New Features

QML Audio loop and short delay during restart

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 234 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.
  • F Offline
    F Offline
    FalsinSoft
    wrote on 16 Jun 2021, 21:10 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

    1/1

    16 Jun 2021, 21:10

    • Login

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