Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
5.13
-
None
-
Windows
Description
The Qt multimedia API allows the user to interrogate or specify the signedness of audio samples using QAudioInput::sampleType(). This doesn't work on Windows. Windows always uses unsigned integer format for 8-bit samples, and signed integer format for everything else. Qt allows this parameter to be set to either, but simply ignores it. What it should do is report signed 8-bit and unsigned other sizes as invalid formats, and return corrected values in QAudioDeviceInfo::nearestFormat(), when running on Windows.
A similar issue was dealt with in https://bugreports.qt.io/browse/QTBUG-45540 regarding .wav files in QAudioDecoder.