Browse Source

fix problem with left+right channels being swapped

dds
Pete (El Supremo) 8 years ago
parent
commit
8ce502770f
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      play_sd_wav.cpp

+ 2
- 0
play_sd_wav.cpp View File

data_length -= size; data_length -= size;
if (leftover_bytes) { if (leftover_bytes) {
block_left->data[block_offset] = header[0]; block_left->data[block_offset] = header[0];
//PAH fix problem with left+right channels being swapped
leftover_bytes = 0;
goto right16; goto right16;
} }
while (1) { while (1) {

Loading…
Cancel
Save