#1692 - We flush the queue instead of stopping the audio (the TADA sound

is cut otherwise)
This commit is contained in:
bsongis
2014-09-10 20:05:54 +02:00
parent 5254c553b2
commit 1f77806017
5 changed files with 15 additions and 2 deletions
+3
View File
@@ -163,6 +163,8 @@ class AudioQueue {
void stopAll();
void flush();
void pause(uint16_t tLen);
void stopSD();
@@ -328,6 +330,7 @@ void pushPrompt(uint16_t prompt, uint8_t id=0);
#define PLAY_FILE(f, flags, id) audioQueue.playFile((f), (flags), (id))
#define STOP_PLAY(id) audioQueue.stopPlay((id))
#define AUDIO_RESET() audioQueue.stopAll()
#define AUDIO_FLUSH() audioQueue.flush()
#if defined(SDCARD)
extern tmr10ms_t timeAutomaticPromptsSilence;