diff options
author | Mithra Pattison <mithra.pattison@nokia.com> | 2012-07-10 13:26:48 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-10 08:26:04 +0200 |
commit | 53fdcca36650970568f14b81814eb627cbabea43 (patch) | |
tree | a216aeb092d0ce10a0e5a7d163b23e704fddabd4 /src/multimedia/audio/qsoundeffect_pulse_p.cpp | |
parent | 952bd004bec78c6ae43253dc42d897c42c9f90cd (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 'src/multimedia/audio/qsoundeffect_pulse_p.cpp')
-rw-r--r-- | src/multimedia/audio/qsoundeffect_pulse_p.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/multimedia/audio/qsoundeffect_pulse_p.cpp b/src/multimedia/audio/qsoundeffect_pulse_p.cpp index 94dcb0bd5..e3357b02b 100644 --- a/src/multimedia/audio/qsoundeffect_pulse_p.cpp +++ b/src/multimedia/audio/qsoundeffect_pulse_p.cpp @@ -76,8 +76,8 @@ inline pa_sample_spec audioFormatToSampleSpec(const QAudioFormat &format) { pa_sample_spec spec; - spec.rate = format.frequency(); - spec.channels = format.channels(); + spec.rate = format.sampleRate(); + spec.channels = format.channelCount(); if (format.sampleSize() == 8) spec.format = PA_SAMPLE_U8; |