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 /tests/auto/qaudiodeviceinfo | |
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 'tests/auto/qaudiodeviceinfo')
-rw-r--r-- | tests/auto/qaudiodeviceinfo/tst_qaudiodeviceinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qaudiodeviceinfo/tst_qaudiodeviceinfo.cpp b/tests/auto/qaudiodeviceinfo/tst_qaudiodeviceinfo.cpp index 715f219..14cf6b3 100644 --- a/tests/auto/qaudiodeviceinfo/tst_qaudiodeviceinfo.cpp +++ b/tests/auto/qaudiodeviceinfo/tst_qaudiodeviceinfo.cpp @@ -170,7 +170,7 @@ void tst_QAudioDeviceInfo::isformat() if(available) { QAudioFormat format; format.setFrequency(44100); - format.setChannels(2); + format.setChannelCount(2); format.setSampleType(QAudioFormat::SignedInt); format.setByteOrder(QAudioFormat::LittleEndian); format.setSampleSize(16); |