Remove calls to wave_is_busy.

Removing these calls do not impact on the behaviour of the program
and simplify the wave.h API.
This commit is contained in:
Reece H. Dunn
2016-02-07 18:11:27 +00:00
parent 94c5efe0b3
commit be93c8b3e7
5 changed files with 2 additions and 57 deletions
-3
View File
@@ -802,9 +802,6 @@ ESPEAK_NG_API espeak_ng_STATUS espeak_ng_Cancel(void)
ESPEAK_API int espeak_IsPlaying(void)
{
if (((my_mode & ENOUTPUT_MODE_SPEAK_AUDIO) == ENOUTPUT_MODE_SPEAK_AUDIO) && wave_is_busy(my_audio))
return 1;
#ifdef USE_ASYNC
return fifo_is_busy();
#else