[Interest] QAudioProbe's audioBufferProbed signal fired very fast.

ashish dabhade ashishd157 at gmail.com
Sat Nov 8 16:57:14 CET 2014


Hi All,

Is there a way to increase the time between each audioBufferProbed signal
that is fired ? I was using the Qt Spectrum Analyzer example with the only
changes of using the QMediaPlayer and hence the audioBufferProbed signal to
process the audio buffer with FFT. On windows 7 (Qt 5.3.2) it works
perfectly with time between each signal around 150-250 ms but on Kubuntu
14.04(Qt 5.3.2) the same code doesn't work since the signal is fired really
very fast and most important at the start of the file it's at same time.
Some sample output:

QTime("21:24:19.009")

QTime("21:24:19.009")

QTime("21:24:19.009")

QTime("21:24:19.009")

QTime("21:24:19.009")

QTime("21:24:19.043")

QTime("21:24:19.113")

Environment:
Qt 5.3.2 on Kubuntu 14.04, 32 bit
Sine tone wav file

Regards,
ashishd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20141108/10d6f11a/attachment.html>


More information about the Interest mailing list