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

Low Latency with QML Audio

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 865 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.
  • I Offline
    I Offline
    ibia
    wrote on 24 Dec 2017, 10:07 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 24 Dec 2017, 21:48 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
      • I Offline
        I Offline
        ibia
        wrote on 26 Dec 2017, 10:21 last edited by ibia 1 Oct 2018, 13:37
        #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

        1/3

        24 Dec 2017, 10:07

        • Login

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