CoreAudio PaStreamCallbackTimeInfo implementation not working in some cases
r1537 added a new implementation of PaStreamCallbackTimeInfo
The implementation is incomplete:
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 in the patch:
http://www.portaudio.com/trac/changeset?reponame=&new=1537%40portaudio/trunk/src/hostapi/coreaudio/pa_mac_core.c&old=1483%40portaudio/trunk/src/hostapi/coreaudio/pa_mac_core.c
The implementation is incomplete:
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 in the patch:
http://www.portaudio.com/trac/changeset?reponame=&new=1537%40portaudio/trunk/src/hostapi/coreaudio/pa_mac_core.c&old=1483%40portaudio/trunk/src/hostapi/coreaudio/pa_mac_core.c
Leave a comment