summaryrefslogtreecommitdiffstats
path: root/src/multimedia/audio/qaudiodeviceinfo.h
diff options
context:
space:
mode:
authorKurt Korbatits <kurt.korbatits@nokia.com>2010-01-15 03:38:12 (GMT)
committerKurt Korbatits <kurt.korbatits@nokia.com>2010-01-15 03:38:12 (GMT)
commitf0d24ba1eaa1079abef3a1da641b43437dc7df66 (patch)
tree297d6ae2cd6f39a7b84ff008245e441191c534df /src/multimedia/audio/qaudiodeviceinfo.h
parent43d654e4d38b998972fa97ab2c23720db3fef8bb (diff)
downloadQt-f0d24ba1eaa1079abef3a1da641b43437dc7df66.zip
Qt-f0d24ba1eaa1079abef3a1da641b43437dc7df66.tar.gz
Qt-f0d24ba1eaa1079abef3a1da641b43437dc7df66.tar.bz2
Added new funcs to QAudioFormat and QAudioDeviceInfo class's.
QAudioFormat::setChannelCount(), channelCount() QAudioFormat::setSampleRate(), sampleRate() QAudioDeviceInfo::supportedChannelCounts(), supportedSampleRates() Changed all instances to use these new functions instead of channels(),frequency(),setFrequency(),setChannels() supportedChannels(),supportedFrequencies() Old functions still exist but are marked obsolete. Reviewed-by:Justin McPherson
Diffstat (limited to 'src/multimedia/audio/qaudiodeviceinfo.h')
-rw-r--r--src/multimedia/audio/qaudiodeviceinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/multimedia/audio/qaudiodeviceinfo.h b/src/multimedia/audio/qaudiodeviceinfo.h
index 53b9904..134b688 100644
--- a/src/multimedia/audio/qaudiodeviceinfo.h
+++ b/src/multimedia/audio/qaudiodeviceinfo.h
@@ -84,7 +84,9 @@ public:
QStringList supportedCodecs() const;
QList<int> supportedFrequencies() const;
+ QList<int> supportedSampleRates() const;
QList<int> supportedChannels() const;
+ QList<int> supportedChannelCounts() const;
QList<int> supportedSampleSizes() const;
QList<QAudioFormat::Endian> supportedByteOrders() const;
QList<QAudioFormat::SampleType> supportedSampleTypes() const;