Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Low Latency with QML Audio

    QML and Qt Quick
    2
    3
    652
    Loading More Posts
    • 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.
    • ibia
      ibia last edited by ibia

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • ibia
          ibia last edited by ibia

          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 Reply Quote 0
          • First post
            Last post