Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-101169

QAudioSink with gstreamer backend plays audio with big latency.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.4
    • 6.2.3, 6.3.0 Beta2
    • Multimedia
    • None
    • Debian testing 64bit
      Qt official binary 6.2.3
    • Linux/X11

    Description

      QAudioSink with gstreamer seems playing with big latency(about 1 sec).
      I made sample to reproduce the issue.
      When program runs QAudioSink starts in pull mode and Generator produces waveform on the fly in readData(). (Generator does not have any buffer not to produce any lag. )

      QAudioSink and Generator is always running and Generator writes waveform to stream if "Generate tone" is checked otherwise writes 0 to stream(no sound).

      On linux tone starts to play after 1 second from checkbox is checked.
      On windows starts to play immediately.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            laknoll Lars Knoll
            eighttails Tadahito Yao
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes