Selaa lähdekoodia
Merge pull request #277 from tsandmann/bugfix-AudioPlaySdWav
Bugfix for missing initialization of data pointers in AudioPlaySdWav
dds
Paul Stoffregen
6 vuotta sitten
vanhempi
commit
8a9cfbe32a
No account linked to committer's email address
1 muutettua tiedostoa jossa
1 lisäystä ja
1 poistoa
-
play_sd_wav.h
|
|
@@ -34,7 +34,7 @@ |
|
|
|
class AudioPlaySdWav : public AudioStream |
|
|
|
{ |
|
|
|
public: |
|
|
|
AudioPlaySdWav(void) : AudioStream(0, NULL) { begin(); } |
|
|
|
AudioPlaySdWav(void) : AudioStream(0, NULL), block_left(NULL), block_right(NULL) { begin(); } |
|
|
|
void begin(void); |
|
|
|
bool play(const char *filename); |
|
|
|
void stop(void); |