mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-01 22:36:14 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user