summaryrefslogtreecommitdiffstats
path: root/src/multimedia/audio/qaudioinput.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2010-01-08 08:22:10 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2010-01-08 08:22:10 (GMT)
commit6e99e7c7d772e122b0e515c1613d9a1e427181ad (patch)
tree08ba4a1db8d17bffa2a69a0538298818668e50fd /src/multimedia/audio/qaudioinput.cpp
parent751de8211033b40c66d88140137eef76e6b20cfa (diff)
parent118e7a807d0764dee97612589fe5d7072d271e1e (diff)
downloadQt-6e99e7c7d772e122b0e515c1613d9a1e427181ad.zip
Qt-6e99e7c7d772e122b0e515c1613d9a1e427181ad.tar.gz
Qt-6e99e7c7d772e122b0e515c1613d9a1e427181ad.tar.bz2
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6
Conflicts: src/multimedia/audio/qaudioformat.cpp
Diffstat (limited to 'src/multimedia/audio/qaudioinput.cpp')
-rw-r--r--src/multimedia/audio/qaudioinput.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/multimedia/audio/qaudioinput.cpp b/src/multimedia/audio/qaudioinput.cpp
index 484a533..6fc4284 100644
--- a/src/multimedia/audio/qaudioinput.cpp
+++ b/src/multimedia/audio/qaudioinput.cpp
@@ -88,8 +88,8 @@ QT_BEGIN_NAMESPACE
QAudioFormat format;
// set up the format you want, eg.
- format.setFrequency(8000);
- format.setChannels(1);
+ format.setSampleRate(8000);
+ format.setChannelCount(1);
format.setSampleSize(8);
format.setCodec("audio/pcm");
format.setByteOrder(QAudioFormat::LittleEndian);