summaryrefslogtreecommitdiffstats
path: root/src/multimedia/audio/qaudioinput_win32_p.cpp
diff options
context:
space:
mode:
authorLev Zelenskiy <lev.zelenskiy@nokia.com>2012-06-29 06:05:19 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-07-03 06:05:38 (GMT)
commit1c9e5df36946fb0a7554b7f1d55ddfd10778d677 (patch)
tree7a24f66f0778e61db4d9a449311f4e594d40965f /src/multimedia/audio/qaudioinput_win32_p.cpp
parentd3c02f0c51f9cf69245a42ee690d90cd657c5fe2 (diff)
downloadQt-1c9e5df36946fb0a7554b7f1d55ddfd10778d677.zip
Qt-1c9e5df36946fb0a7554b7f1d55ddfd10778d677.tar.gz
Qt-1c9e5df36946fb0a7554b7f1d55ddfd10778d677.tar.bz2
Allow frequences up to 96000 in win32 backend.
QTBUG-26102 Change-Id: I08377d49a444ca3db1d1c0ccabc00665b4480f9b Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Diffstat (limited to 'src/multimedia/audio/qaudioinput_win32_p.cpp')
-rw-r--r--src/multimedia/audio/qaudioinput_win32_p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multimedia/audio/qaudioinput_win32_p.cpp b/src/multimedia/audio/qaudioinput_win32_p.cpp
index cb1baf8..f595928 100644
--- a/src/multimedia/audio/qaudioinput_win32_p.cpp
+++ b/src/multimedia/audio/qaudioinput_win32_p.cpp
@@ -224,7 +224,7 @@ bool QAudioInputPrivate::open()
} else if (settings.sampleSize() <= 0) {
qWarning("QAudioInput: open error, invalid sample size (%d).",
settings.sampleSize());
- } else if (settings.frequency() < 8000 || settings.frequency() > 48000) {
+ } else if (settings.frequency() < 8000 || settings.frequency() > 96000) {
qWarning("QAudioInput: open error, frequency out of range (%d).", settings.frequency());
} else if (buffer_size == 0) {