issue #172: flush audio on cancel requests.

This is a partial fix for an audio regression. The other part of
the fix requires a change in pcaudiolib to reopen the audio device
on flush requests for affected audio drivers/devices.
This commit is contained in:
Reece H. Dunn
2017-01-24 07:24:29 +00:00
parent ae311b0c28
commit dee3799f82
3 changed files with 15 additions and 0 deletions
+2
View File
@@ -65,6 +65,8 @@ typedef struct {
} MNEM_TAB;
int LookupMnem(MNEM_TAB *table, const char *string);
void cancel_audio(void);
extern char path_home[N_PATH_HOME]; // this is the espeak-ng-data directory
extern ESPEAK_NG_API void strncpy0(char *to, const char *from, int size);