瀏覽代碼
Merge pull request #277 from tsandmann/bugfix-AudioPlaySdWav
Bugfix for missing initialization of data pointers in AudioPlaySdWav
dds
Paul Stoffregen
6 年之前
No account linked to committer's email address
共有
1 個文件被更改,包括
1 次插入 和
1 次删除
-
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); |