diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fc04543d..6f5056bb 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,10 @@ sc_usb_audio Change Log ======================= +6.20.0 +------ + - RESOLVED: Intra-frame sample delays of 1/2 samples on input streaming in TDM mode + 6.19.0 ------ - CHANGE: BCD_DEVICE version increment only diff --git a/module_usb_audio/audio_io/audio_io.xc b/module_usb_audio/audio_io/audio_io.xc index 90568e17..66b01e02 100755 --- a/module_usb_audio/audio_io/audio_io.xc +++ b/module_usb_audio/audio_io/audio_io.xc @@ -598,7 +598,7 @@ unsigned static deliver(chanend c_out, chanend ?c_spd_out, /* Input previous L sample into L in buffer */ index = 0; /* First input (i.e. frameCount == 0) we read last ADC channel of previous frame.. */ - unsigned buffIndex = (frameCount < 3) ? !readBuffNo : readBuffNo; + unsigned buffIndex = (frameCount > 1) ? !readBuffNo : readBuffNo; #pragma loop unroll /* First time around we get channel 7 of TDM8 */