Commit f141d905 authored by Max Kellermann's avatar Max Kellermann

audio: removed isCurrentAudioFormat()

This function isn't used anymore.
parent 2a388c2a
...@@ -218,14 +218,6 @@ void finishAudioDriver(void) ...@@ -218,14 +218,6 @@ void finishAudioDriver(void)
notify_deinit(&audio_output_client_notify); notify_deinit(&audio_output_client_notify);
} }
bool
isCurrentAudioFormat(const struct audio_format *audioFormat)
{
assert(audioFormat != NULL);
return audio_format_equals(audioFormat, &input_audio_format);
}
static void audio_output_wait_all(void) static void audio_output_wait_all(void)
{ {
unsigned i; unsigned i;
......
...@@ -72,8 +72,6 @@ void dropBufferedAudio(void); ...@@ -72,8 +72,6 @@ void dropBufferedAudio(void);
void closeAudioDevice(void); void closeAudioDevice(void);
bool isCurrentAudioFormat(const struct audio_format *audioFormat);
void sendMetadataToAudioDevice(const struct tag *tag); void sendMetadataToAudioDevice(const struct tag *tag);
/* these functions are called in the main parent process while the child /* these functions are called in the main parent process while the child
......
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