]> Repos - portaudio/commit
maccore: fixed MacOSX "Snow Leopard" 10.6+ deadlock on sample-rate change submitted...
authordmitrykos <dmitrykos@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 18 Mar 2010 11:26:47 +0000 (11:26 +0000)
committerdmitrykos <dmitrykos@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 18 Mar 2010 11:26:47 +0000 (11:26 +0000)
commit4f26695b77113a0ca700ca42a42a38772f02d100
treef337a42b6dac84da9d7a8aba4c7b937b9dfe6143
parent4ba123be9a3f651a0e7c1309b0f908bacc83ee68
maccore: fixed MacOSX "Snow Leopard" 10.6+ deadlock on sample-rate change submitted by Olivier Tristan
and Stephane Letz with the following details:
"When using paMacCoreChangeDeviceParameters option of PaMacCore_SetupStreamInfo, if the sample rate used in PortAudio do not match the one on the hardware, it automatically switches the hardware samplerate. This functionality stopped working on 10.6 and was blocking the application when trying to change the hardware samplerate (infinite wait) It now works fine on 10.6 as it used to on previous OSX version."
src/hostapi/coreaudio/pa_mac_core.c