Browse Source

hm.

teensy4-core
Frank 8 years ago
parent
commit
8e1dde32f0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      teensy3/usb_audio.cpp

+ 2
- 2
teensy3/usb_audio.cpp View File

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



Loading…
Cancel
Save