summaryrefslogtreecommitdiffstats
path: root/src/multimedia/audio/qaudioinput.cpp
diff options
context:
space:
mode:
authorJustin McPherson <justin.mcpherson@nokia.com>2010-03-11 07:06:04 (GMT)
committerJustin McPherson <justin.mcpherson@nokia.com>2010-03-11 07:53:29 (GMT)
commited8103e715aee24c3ff6963c68a6b3bb9e3a7288 (patch)
tree838fdc74fbeb51a80b9d0d6080ec5fc06c02b288 /src/multimedia/audio/qaudioinput.cpp
parent81a86620bc6664f6b08ea0c1bec89192717c0343 (diff)
downloadQt-ed8103e715aee24c3ff6963c68a6b3bb9e3a7288.zip
Qt-ed8103e715aee24c3ff6963c68a6b3bb9e3a7288.tar.gz
Qt-ed8103e715aee24c3ff6963c68a6b3bb9e3a7288.tar.bz2
Documentation fix.
Reviewed-by:Dmytro Poplavskiy
Diffstat (limited to 'src/multimedia/audio/qaudioinput.cpp')
-rw-r--r--src/multimedia/audio/qaudioinput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multimedia/audio/qaudioinput.cpp b/src/multimedia/audio/qaudioinput.cpp
index fd892dd..10bab01 100644
--- a/src/multimedia/audio/qaudioinput.cpp
+++ b/src/multimedia/audio/qaudioinput.cpp
@@ -95,7 +95,7 @@ QT_BEGIN_NAMESPACE
format.setByteOrder(QAudioFormat::LittleEndian);
format.setSampleType(QAudioFormat::UnSignedInt);
- if (QAudioDeviceInfo info(QAudioDeviceInfo::defaultInputDevice());
+ QAudioDeviceInfo info = QAudioDeviceInfo::defaultInputDevice();
if (!info.isFormatSupported(format)) {
qWarning()<<"default format not supported try to use nearest";
format = info.nearestFormat(format);