forked from PAWPAW-Mirror/lib_xua
Intra-frame sample delay (ADC/TDM)
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
sc_usb_audio Change Log
|
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
|
6.19.0
|
||||||
------
|
------
|
||||||
- CHANGE: BCD_DEVICE version increment only
|
- CHANGE: BCD_DEVICE version increment only
|
||||||
|
|||||||
@@ -598,7 +598,7 @@ unsigned static deliver(chanend c_out, chanend ?c_spd_out,
|
|||||||
/* Input previous L sample into L in buffer */
|
/* Input previous L sample into L in buffer */
|
||||||
index = 0;
|
index = 0;
|
||||||
/* First input (i.e. frameCount == 0) we read last ADC channel of previous frame.. */
|
/* 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
|
#pragma loop unroll
|
||||||
/* First time around we get channel 7 of TDM8 */
|
/* First time around we get channel 7 of TDM8 */
|
||||||
|
|||||||
Reference in New Issue
Block a user