From ca03491e6365396f97436d2e12e540d76ea9877d Mon Sep 17 00:00:00 2001 From: Barry Rowe Date: Wed, 4 Dec 2019 21:03:05 -0800 Subject: [PATCH] Fix to audiomixer. --- retroarch.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/retroarch.c b/retroarch.c index fc5ef29ac0..e8d1392c03 100644 --- a/retroarch.c +++ b/retroarch.c @@ -4455,11 +4455,14 @@ finish: bool is_ai_service_speech_running(void) { +#ifdef HAVE_AUDIOMIXER enum audio_mixer_state res = audio_driver_mixer_get_stream_state(10); - RARCH_LOG("TTT %d\n", res); if (res == AUDIO_STREAM_STATE_NONE || res == AUDIO_STREAM_STATE_STOPPED) return false; return true; +#else + return false; +#endif } bool ai_service_speech_stop(void)