Browse Source

Fix AudioInputUSB copy_to_buffers()

main
PaulStoffregen 8 years ago
parent
commit
96f5532ab1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy3/usb_audio.cpp

+ 1
- 1
teensy3/usb_audio.cpp View File

} }


while ((src < target - 2)) { while ((src < target - 2)) {
uint32_t n = *src++;
uint32_t n1 = *src++; uint32_t n1 = *src++;
uint32_t n = *src++;
*(uint32_t *)left = n1 & 0xFFFF | ((n & 0xFFFF) << 16); *(uint32_t *)left = n1 & 0xFFFF | ((n & 0xFFFF) << 16);
left+=2; left+=2;
*(uint32_t *)right = (n1 >> 16) | ((n & 0xFFFF0000)) ; *(uint32_t *)right = (n1 >> 16) | ((n & 0xFFFF0000)) ;

Loading…
Cancel
Save