Przeglądaj źródła

fix problem with left+right channels being swapped

dds
Pete (El Supremo) 9 lat temu
rodzic
commit
8ce502770f
1 zmienionych plików z 2 dodań i 0 usunięć
  1. +2
    -0
      play_sd_wav.cpp

+ 2
- 0
play_sd_wav.cpp Wyświetl plik

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) {

Ładowanie…
Anuluj
Zapisz