Important: Please read the Qt Code of Conduct -

Low Latency with QML Audio

  • 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 ?

  • Lifetime Qt Champion


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

  • 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"


Log in to reply