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/audiooutput | |
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/audiooutput')
-rw-r--r-- | examples/multimedia/audiooutput/audiooutput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multimedia/audiooutput/audiooutput.cpp b/examples/multimedia/audiooutput/audiooutput.cpp index b6047db..e822064 100644 --- a/examples/multimedia/audiooutput/audiooutput.cpp +++ b/examples/multimedia/audiooutput/audiooutput.cpp @@ -165,7 +165,7 @@ AudioTest::AudioTest() gen->start(); settings.setFrequency(SYSTEM_FREQ); - settings.setChannels(1); + settings.setChannelCount(1); settings.setSampleSize(16); settings.setCodec("audio/pcm"); settings.setByteOrder(QAudioFormat::LittleEndian); |