Turn function static
This commit is contained in:
parent
8aa7ae168e
commit
e21df42ec1
|
@ -973,6 +973,15 @@ bool audio_driver_toggle_mute(void)
|
||||||
return true;
|
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)
|
bool audio_driver_start(bool is_shutdown)
|
||||||
{
|
{
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
@ -995,14 +1004,6 @@ error:
|
||||||
return false;
|
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)
|
bool audio_driver_stop(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -210,8 +210,6 @@ void audio_driver_unset_callback(void);
|
||||||
|
|
||||||
void audio_driver_frame_is_reverse(void);
|
void audio_driver_frame_is_reverse(void);
|
||||||
|
|
||||||
bool audio_driver_alive(void);
|
|
||||||
|
|
||||||
bool audio_driver_deinit(void);
|
bool audio_driver_deinit(void);
|
||||||
|
|
||||||
bool audio_driver_init(void);
|
bool audio_driver_init(void);
|
||||||
|
|
Loading…
Reference in New Issue