Преглед изворни кода

add comment to look into thread safety in SD WAV play()

dds
PaulStoffregen пре 11 година
родитељ
комит
677c072ca1
1 измењених фајлова са 1 додато и 0 уклоњено
  1. +1
    -0
      play_sd_wav.cpp

+ 1
- 0
play_sd_wav.cpp Прегледај датотеку

@@ -59,6 +59,7 @@ void AudioPlaySdWav::begin(void)
bool AudioPlaySdWav::play(const char *filename)
{
stop();
// TODO: SD.open probably needs to be done with the audio interrupt disabled...
wavfile = SD.open(filename);
if (!wavfile) return false;
buffer_length = 0;

Loading…
Откажи
Сачувај