Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.1
-
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 |
94332,2 | WMF: fix start time of QAudioProbe's buffers. | 5.3 | qt/qtmultimedia | Status: MERGED | +2 | 0 |