Pārlūkot izejas kodu
Merge pull request #277 from tsandmann/bugfix-AudioPlaySdWav
Bugfix for missing initialization of data pointers in AudioPlaySdWav
dds
Paul Stoffregen
pirms 6 gadiem
vecāks
revīzija
8a9cfbe32a
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar
1 papildinājumiem un
1 dzēšanām
-
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); |