Browse Source

Fix repeated WAV file play

dds
PaulStoffregen 11 years ago
parent
commit
ed585c49af
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      Audio.cpp

+ 1
- 0
Audio.cpp View File

@@ -1120,6 +1120,7 @@ bool AudioPlaySDcardWAV::play(const char *filename)
if (!wavfile) return false;
buffer_remaining = 0;
state_play = STATE_STOP;
data_length = 0;
state = STATE_PARSE1;
return true;
}

Loading…
Cancel
Save