Turn function static

This commit is contained in:
twinaphex 2017-04-18 03:59:15 +02:00
parent 8aa7ae168e
commit e21df42ec1
2 changed files with 9 additions and 10 deletions

View File

@ -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)
{

View File

@ -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);