Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
4.6.0
-
None
-
Mac OS X 10.5
Description
When attempting to record audio with QAudioInput into a QBuffer/QFile, with the format 8000 Hz rate, 16 bits, little-endian, mono, signed, the resulting audio data is half corrupted.
Closer examination suggests the data is 0.5 seconds in requested format, then 0.5 seconds either offset by one byte or flipped into big-endian order. Looking through the Qt sources, it looks like the AudioInput on Mac uses 2 internal buffers while recording, so the other buffer being incorrectly set up might be an explanation.