]> Repos - portaudio/commit
Replaced broken PaStreamCallbackTimeInfo calculations with calculation based on CoreA...
authorrossb <rossb@0f58301d-fd10-0410-b4af-bbb618454e57>
Fri, 20 Aug 2010 11:47:02 +0000 (11:47 +0000)
committerrossb <rossb@0f58301d-fd10-0410-b4af-bbb618454e57>
Fri, 20 Aug 2010 11:47:02 +0000 (11:47 +0000)
commitc0d24d39059bedfbba0a2cbfecb59eec225633b0
treec95872a12bf53efc033a7fbca1fd6a3a29dc85d5
parentcf124140d6c5860448952abeb623d703255f3263
Replaced broken PaStreamCallbackTimeInfo calculations with calculation based on CoreAudio ioProc timestamps. Notes: 1. inputBufferAdcTime is not computed correctly for all cases (eg full duplex with/without ring buffer). 2. This patch needs to be reviewed for the case where device and AUHAL sample rates differ (ie SRC is used) and if input and output sample rates differ. See FIXMES
src/hostapi/coreaudio/pa_mac_core.c
src/hostapi/coreaudio/pa_mac_core_internal.h