CoreAudio: Allow more flexability when specifying SampleRates
authorAndy Nichols <andy.nichols@digia.com>
Sun, 2 Mar 2014 15:19:37 +0000 (16:19 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 3 Mar 2014 13:54:54 +0000 (14:54 +0100)
commit4d31ec0793af1e4eb79f88888399641678d4a39e
tree5472e5f54652c496e2d66f485806e415d275b3f4
parentd5dfef66bb5b12ade920d3bf2d171186e9b7e8dc
CoreAudio: Allow more flexability when specifying SampleRates

The available sample rates for a given device are the nominal sample
rates reported by the device.  It is possible to use other sample rates
and CoreAudio will take care of the conversion.  So what we will do is
report what rates are available for a device, but not explicitly require
those sample rates to have a valid format.

Task-number: QTBUG-36265
Change-Id: Idbbdeacbb6bc1fe434bcd8dec519ad70d4ccd545
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
src/plugins/coreaudio/coreaudiodeviceinfo.mm