mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 13:14:04 +00:00
Turn two more functions static
This commit is contained in:
parent
bece92abb2
commit
e5ffeff36e
12
retroarch.c
12
retroarch.c
@ -4775,19 +4775,17 @@ finish:
|
||||
free(raw_output_data);
|
||||
}
|
||||
|
||||
bool is_ai_service_speech_running(void)
|
||||
static bool is_ai_service_speech_running(void)
|
||||
{
|
||||
#ifdef HAVE_AUDIOMIXER
|
||||
enum audio_mixer_state res = audio_driver_mixer_get_stream_state(10);
|
||||
if (res == AUDIO_STREAM_STATE_NONE || res == AUDIO_STREAM_STATE_STOPPED)
|
||||
return false;
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
if (res != AUDIO_STREAM_STATE_NONE && res != AUDIO_STREAM_STATE_STOPPED)
|
||||
return true;
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ai_service_speech_stop(void)
|
||||
static bool ai_service_speech_stop(void)
|
||||
{
|
||||
#ifdef HAVE_AUDIOMIXER
|
||||
audio_driver_mixer_stop_stream(10);
|
||||
|
Loading…
x
Reference in New Issue
Block a user