Open PortAudio-admin opened 13 years ago
Comment by @RossBencina
I think it would be a good idea to clean up / refactor the logic in the ioProc, possibly with separate io procs for different input/output duplex. At the moment there is a lot of interleaved and dependent if/else logic that makes things very hard to follow.
Comment by @RossBencina
TRAC migration: propagating ticket status from TRAC
Issue created by @RossBencina
r1537 added a new implementation of PaStreamCallbackTimeInfo
The implementation is incomplete:
inputBufferAdcTime is not computed correctly for all cases (eg full duplex with/without ring buffer).
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