diff options
author | Kurt Korbatits <kurt.korbatits@nokia.com> | 2010-01-06 00:16:02 (GMT) |
---|---|---|
committer | Kurt Korbatits <kurt.korbatits@nokia.com> | 2010-01-06 00:16:02 (GMT) |
commit | f124538ef4840c3d24b4c7e9e7221adb52bdee2c (patch) | |
tree | 22e96b25c3780fb849d4f833ef1e17331128dc36 /examples/multimedia/audioinput | |
parent | a4550c49e982aa0218ab7097b814678505f8482c (diff) | |
download | Qt-f124538ef4840c3d24b4c7e9e7221adb52bdee2c.zip Qt-f124538ef4840c3d24b4c7e9e7221adb52bdee2c.tar.gz Qt-f124538ef4840c3d24b4c7e9e7221adb52bdee2c.tar.bz2 |
Added setChannelCount() to QAudioFormat.
Added setChannelCount() and updated docs/examples/tests to use it
instead of setChannels().
Reviewed-by:Justin McPherson
Diffstat (limited to 'examples/multimedia/audioinput')
-rw-r--r-- | examples/multimedia/audioinput/audioinput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multimedia/audioinput/audioinput.cpp b/examples/multimedia/audioinput/audioinput.cpp index 75bddd6..e6ebe95 100644 --- a/examples/multimedia/audioinput/audioinput.cpp +++ b/examples/multimedia/audioinput/audioinput.cpp @@ -196,7 +196,7 @@ InputTest::InputTest() pullMode = true; format.setFrequency(8000); - format.setChannels(1); + format.setChannelCount(1); format.setSampleSize(16); format.setSampleType(QAudioFormat::SignedInt); format.setByteOrder(QAudioFormat::LittleEndian); |