Browse Source

Update input_i2s2.cpp

dds
Frank 4 years ago
parent
commit
fd306c6fb0
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      input_i2s2.cpp

+ 2
- 2
input_i2s2.cpp View File

dest_left = &(left->data[offset]); dest_left = &(left->data[offset]);
dest_right = &(right->data[offset]); dest_right = &(right->data[offset]);
AudioInputI2S2::block_offset = offset + AUDIO_BLOCK_SAMPLES/2; AudioInputI2S2::block_offset = offset + AUDIO_BLOCK_SAMPLES/2;
#if IMXRT_CACHE_ENABLED >=1
arm_dcache_delete(src, sizeof(i2s_rx_buffer) / 2); arm_dcache_delete(src, sizeof(i2s_rx_buffer) / 2);
#endif
do { do {
*dest_left++ = *src++; *dest_left++ = *src++;
*dest_right++ = *src++; *dest_right++ = *src++;

Loading…
Cancel
Save