Browse Source

WAV header parse for 44100

dds
PaulStoffregen 10 years ago
parent
commit
de39e6f790
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      play_sd_wav.cpp

+ 1
- 1
play_sd_wav.cpp View File

rate = header[1]; rate = header[1];
//Serial.print(" rate = "); //Serial.print(" rate = ");
//Serial.println(rate); //Serial.println(rate);
if (rate == AUDIO_SAMPLE_RATE) {
if (rate == 44100) {
b2m = B2M_44100; b2m = B2M_44100;
} else if (rate == 22050) { } else if (rate == 22050) {
b2m = B2M_22050; b2m = B2M_22050;

Loading…
Cancel
Save