mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 10:40:39 +00:00
Fix to audiomixer.
This commit is contained in:
parent
e1f8b66c05
commit
ca03491e63
@ -4455,11 +4455,14 @@ finish:
|
|||||||
|
|
||||||
bool is_ai_service_speech_running(void)
|
bool is_ai_service_speech_running(void)
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_AUDIOMIXER
|
||||||
enum audio_mixer_state res = audio_driver_mixer_get_stream_state(10);
|
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)
|
if (res == AUDIO_STREAM_STATE_NONE || res == AUDIO_STREAM_STATE_STOPPED)
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ai_service_speech_stop(void)
|
bool ai_service_speech_stop(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user