Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0, 4.8.0
-
None
-
Windows XP, Windows 7, etc.
-
-
1c9e5df36946fb0a7554b7f1d55ddfd10778d677
Description
Under OSX, I can open a QAudioInput at 16-bit/channel, 96000 stereo, which is the sample rate / channel arrangement of the device I am coding for. Works fine. Under Windows, the device will not open unless the sample rate is 48000 or less. Looking at the source code, there is an arbitrary limit in the windows framework. This is a ridiculous limit, well below present sample rates of even the most mundane hardware, and I REALLY need this to be fixed. Here's at least part of the problem, from "qaudioinput_win32_p.cpp":
else if (settings.frequency() < 8000 || settings.frequency() > 48000) {
qWarning("QAudioInput: open error, frequency out of range (%d).", settings.frequency())