Commit graph portaudio/src/hostapi/coreaudio
Author SHA1 Message Date
dmitrykos
4f26695b77 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."
2010-03-18 11:26:47 +00:00
bjornroche
9e8176d71e added and removed dummy property listener as this may be required by OS X 10.6. Also, returned no error on property timeout. 2009-12-02 17:48:05 +00:00
bjornroche
72b656b6a6 cleanup of property change checking and error handling 2009-12-01 15:58:37 +00:00
bjornroche
b7e64ed868 added return char 2009-12-01 15:38:55 +00:00
bjornroche
3a3bef5adb removed some redundant code 2009-12-01 15:38:08 +00:00
bjornroche
8901efea70 fixes for hardware samplerate changes 2009-11-30 21:07:43 +00:00
bjornroche
21a768824d added assert back as suggested by Dmitry Kostjuchenko 2009-11-18 21:07:31 +00:00
bjornroche
c55f47de78 fix for ringbuffer problem on 64-bit macs. Also, this should make it possible to migrate away from using the long datatype on pa_ringbuffer. 2009-11-18 16:09:05 +00:00
bjornroche
f0279d9be3 added two includes which should not be necessary but seem to help compiling in snow leopard 2009-10-22 17:51:07 +00:00
bjornroche
fe733fde8d fixed bug as suggested by Michael allen. This fixes issues with blocking IO on the mac when using different number of channels for input and output. 2008-10-24 14:10:04 +00:00
bjornroche
c1e1d067d2 moved trunk into place 2008-03-20 14:24:39 +00:00