diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-01-14 03:55:22 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-01-14 03:55:22 (GMT) |
commit | ecd0b1744442cba83d9bcad899f7b09cb99f2d92 (patch) | |
tree | a20785cafd67c7624f967a6eea3eabb3f4f5400c /tests/auto/qaudiooutput/tst_qaudiooutput.cpp | |
parent | 862d5433fb694a03715b2327a107b3192b921924 (diff) | |
parent | 5a91631ed3ac6a0d792d0445290a01f3e0f5d7d3 (diff) | |
download | Qt-ecd0b1744442cba83d9bcad899f7b09cb99f2d92.zip Qt-ecd0b1744442cba83d9bcad899f7b09cb99f2d92.tar.gz Qt-ecd0b1744442cba83d9bcad899f7b09cb99f2d92.tar.bz2 |
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-multimedia-team into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/qt-multimedia-team:
Revert "Frequency to SampleRate and channels to channelCount." missed
Revert "Frequency to SampleRate and channels to channelCount."
Revert "Added setChannelCount() to QAudioFormat."
Diffstat (limited to 'tests/auto/qaudiooutput/tst_qaudiooutput.cpp')
-rw-r--r-- | tests/auto/qaudiooutput/tst_qaudiooutput.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qaudiooutput/tst_qaudiooutput.cpp b/tests/auto/qaudiooutput/tst_qaudiooutput.cpp index 5005838..aeb2286 100644 --- a/tests/auto/qaudiooutput/tst_qaudiooutput.cpp +++ b/tests/auto/qaudiooutput/tst_qaudiooutput.cpp @@ -71,8 +71,8 @@ private: void tst_QAudioOutput::initTestCase() { - format.setSampleRate(8000); - format.setChannelCount(1); + format.setFrequency(8000); + format.setChannels(1); format.setSampleSize(8); format.setCodec("audio/pcm"); format.setByteOrder(QAudioFormat::LittleEndian); @@ -95,8 +95,8 @@ void tst_QAudioOutput::settings() // Confirm the setting we added in the init function. QAudioFormat f = audio->format(); - QVERIFY(format.channelCount() == f.channelCount()); - QVERIFY(format.sampleRate() == f.sampleRate()); + QVERIFY(format.channels() == f.channels()); + QVERIFY(format.frequency() == f.frequency()); QVERIFY(format.sampleSize() == f.sampleSize()); QVERIFY(format.codec() == f.codec()); QVERIFY(format.byteOrder() == f.byteOrder()); |