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
@@ -183,9 +183,9 @@ void tst_QAudioDecoderBackend::fileTest()
|
||||
|
||||
// change output audio format
|
||||
QAudioFormat format;
|
||||
format.setChannels(2);
|
||||
format.setChannelCount(2);
|
||||
format.setSampleSize(8);
|
||||
format.setFrequency(11050);
|
||||
format.setSampleRate(11050);
|
||||
format.setCodec("audio/pcm");
|
||||
format.setSampleType(QAudioFormat::SignedInt);
|
||||
|
||||
@@ -509,9 +509,9 @@ void tst_QAudioDecoderBackend::deviceTest()
|
||||
|
||||
// Now try changing formats
|
||||
QAudioFormat format;
|
||||
format.setChannels(2);
|
||||
format.setChannelCount(2);
|
||||
format.setSampleSize(8);
|
||||
format.setFrequency(8000);
|
||||
format.setSampleRate(8000);
|
||||
format.setCodec("audio/pcm");
|
||||
format.setSampleType(QAudioFormat::SignedInt);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user