Commit 8de179ef authored by Max Kellermann's avatar Max Kellermann

output_control: make audio_output_open() static

audio_output_open() is only called by audio_output_update(). Don't export it.
parent c5c86452
...@@ -55,7 +55,7 @@ static void ao_command_async(struct audio_output *ao, ...@@ -55,7 +55,7 @@ static void ao_command_async(struct audio_output *ao,
notify_signal(&ao->notify); notify_signal(&ao->notify);
} }
bool static bool
audio_output_open(struct audio_output *ao, audio_output_open(struct audio_output *ao,
const struct audio_format *audio_format) const struct audio_format *audio_format)
{ {
......
...@@ -39,10 +39,6 @@ bool ...@@ -39,10 +39,6 @@ bool
audio_output_init(struct audio_output *ao, const struct config_param *param, audio_output_init(struct audio_output *ao, const struct config_param *param,
GError **error); GError **error);
bool
audio_output_open(struct audio_output *ao,
const struct audio_format *audio_format);
/** /**
* Opens or closes the device, depending on the "enabled" flag. * Opens or closes the device, depending on the "enabled" flag.
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment