mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Turn function static
This commit is contained in:
parent
8aa7ae168e
commit
e21df42ec1
@ -973,6 +973,15 @@ bool audio_driver_toggle_mute(void)
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool audio_driver_alive(void)
|
||||
{
|
||||
if ( current_audio
|
||||
&& current_audio->alive
|
||||
&& audio_driver_context_audio_data)
|
||||
return current_audio->alive(audio_driver_context_audio_data);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool audio_driver_start(bool is_shutdown)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
@ -995,14 +1004,6 @@ error:
|
||||
return false;
|
||||
}
|
||||
|
||||
bool audio_driver_alive(void)
|
||||
{
|
||||
if ( current_audio
|
||||
&& current_audio->alive
|
||||
&& audio_driver_context_audio_data)
|
||||
return current_audio->alive(audio_driver_context_audio_data);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool audio_driver_stop(void)
|
||||
{
|
||||
|
@ -210,8 +210,6 @@ void audio_driver_unset_callback(void);
|
||||
|
||||
void audio_driver_frame_is_reverse(void);
|
||||
|
||||
bool audio_driver_alive(void);
|
||||
|
||||
bool audio_driver_deinit(void);
|
||||
|
||||
bool audio_driver_init(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user