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

Wrong start time for QAudioProbe audio buffer on windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0
    • 5.3.1
    • Multimedia
    • None
    • Windows 7
    • 90fd3ac39999389fd898dd43210f8af95adb5493

    Description

      When using QAudioProbe on Windows, the audio buffer passed to the audioBufferProbed signal has a wrong startTime: it is 10 times what it actually should be.
      My guess is that the problem is in the WMF's AudioSampleGrabberCallback::OnProcessSample() function, which takes llSampleDuration (specified to be in 100-nanosecond units) and passes it to MFAudioProbeControl::bufferProbed(), which passes it to the audio buffer's start time (specified to be microseconds).

      Attachments

        For Gerrit Dashboard: QTBUG-40954
        # Subject Branch Project Status CR V

        Activity

          People

            ylopes Yoann Lopes
            che Carsten Henßinger
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes