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>
This commit is contained in:
committed by
Qt by Nokia
parent
952bd004be
commit
53fdcca366
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user