Is there a solution to this?
For now, my workaround is to re-order the data:
Code: Select all
for (int i =0; i<NUM_SAMPLES; i=i+2)
{
output_buffer[i] = (float)(i2s_read_buff[i+1] & 0xfff);
output_buffer[i+1] = (float)(i2s_read_buff[i] & 0xfff);
}