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

Low Latency with QML Audio

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 856 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 ibia
    #1

    Hi. When I use the Audio type there is a few of seconds before the song begins. I want the song to begin automatically when I call the play() function. How can I achieve this goal without using the SoundEffect component ?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What version of Qt ?
      On what platform ?
      Whith which compiler ?
      What kind of audio file ?
      Can you share the code you are using ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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

        Thank you @SGaist. I am using Qt 5.10 on Windows 8.1 ! And the code I am using is the minimal one for audios. The effect is the same for every mp3 file I use. The code is the following

        Audio {

        autoPlay: true
        source: "file.mp3"
        

        }

        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