summaryrefslogtreecommitdiffstats
path: root/tests/auto/unit/qwavedecoder/tst_qwavedecoder.cpp
diff options
context:
space:
mode:
authorMithra Pattison <mithra.pattison@nokia.com>2012-07-10 13:26:48 +1000
committerQt by Nokia <qt-info@nokia.com>2012-07-10 08:26:04 +0200
commit53fdcca36650970568f14b81814eb627cbabea43 (patch)
treea216aeb092d0ce10a0e5a7d163b23e704fddabd4 /tests/auto/unit/qwavedecoder/tst_qwavedecoder.cpp
parent952bd004bec78c6ae43253dc42d897c42c9f90cd (diff)
Delete obsolete class methods and update related code
Delete obsolete methods from QAudioFormat and QAudioDeviceInfo and update code that relied on the obsolete methods. Change-Id: I007e36375a45399b1d5a289341bc5d5a05dc68cc Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Diffstat (limited to 'tests/auto/unit/qwavedecoder/tst_qwavedecoder.cpp')
-rw-r--r--tests/auto/unit/qwavedecoder/tst_qwavedecoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/unit/qwavedecoder/tst_qwavedecoder.cpp b/tests/auto/unit/qwavedecoder/tst_qwavedecoder.cpp
index d5f974215..1b7b3cd66 100644
--- a/tests/auto/unit/qwavedecoder/tst_qwavedecoder.cpp
+++ b/tests/auto/unit/qwavedecoder/tst_qwavedecoder.cpp
@@ -184,7 +184,7 @@ void tst_QWaveDecoder::file()
QVERIFY(waveDecoder.duration() == 250);
QAudioFormat format = waveDecoder.audioFormat();
QVERIFY(format.isValid());
- QVERIFY(format.channels() == channels);
+ QVERIFY(format.channelCount() == channels);
QVERIFY(format.sampleSize() == samplesize);
QVERIFY(format.sampleRate() == samplerate);
if (format.sampleSize() != 8) {
@@ -247,7 +247,7 @@ void tst_QWaveDecoder::http()
QVERIFY(waveDecoder.duration() == 250);
QAudioFormat format = waveDecoder.audioFormat();
QVERIFY(format.isValid());
- QVERIFY(format.channels() == channels);
+ QVERIFY(format.channelCount() == channels);
QVERIFY(format.sampleSize() == samplesize);
QVERIFY(format.sampleRate() == samplerate);
if (format.sampleSize() != 8) {