36 #if defined(__cplusplus) 45 void wav_play(
const char* wavFilename);
91 #if defined(__cplusplus) int wav_playing()
Check if wav file is currently playing.
Definition: wavplayer.c:69
void wav_volume(int vol)
Set wav play volume 0 to 10. 0 is lowest, 10 is highest.
Definition: wavplayer.c:75
void wav_play(const char *wavFilename)
Play a .wav file.
Definition: wavplayer.c:58
void wav_close(void)
Stop wav file reading and close audio output. Only recommended if your application needs to recover t...
Definition: wavplayer.c:102
void wav_stop(void)
Stop wav file reading but leave audio output open so that you can play another track without a click ...
Definition: wavplayer.c:90
void wav_set_pins(int left_pin, int right_pin)
Change the default pins used by the wav player library. Only call before calling wav_play for the fir...
Definition: wavplayer.c:212