aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-10 18:51:38 +0100
committerMax Kellermann <max@duempel.org>2009-02-10 18:51:38 +0100
commitf141d9053396e6bd177c8f46095098fc573f0ab0 (patch)
tree4210829cd44a4e8f12f2b5d92441582d4d30372f /src
parent2a388c2aa7c414b525c95de9b81a837b8da54ea7 (diff)
downloadmpd-f141d9053396e6bd177c8f46095098fc573f0ab0.tar.gz
mpd-f141d9053396e6bd177c8f46095098fc573f0ab0.tar.xz
mpd-f141d9053396e6bd177c8f46095098fc573f0ab0.zip
audio: removed isCurrentAudioFormat()
This function isn't used anymore.
Diffstat (limited to '')
-rw-r--r--src/audio.c8
-rw-r--r--src/audio.h2
2 files changed, 0 insertions, 10 deletions
diff --git a/src/audio.c b/src/audio.c
index c0ead9ddc..e048a0b6f 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -218,14 +218,6 @@ void finishAudioDriver(void)
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)
{
unsigned i;
diff --git a/src/audio.h b/src/audio.h
index 2bffa7d41..2dd71732b 100644
--- a/src/audio.h
+++ b/src/audio.h
@@ -72,8 +72,6 @@ void dropBufferedAudio(void);
void closeAudioDevice(void);
-bool isCurrentAudioFormat(const struct audio_format *audioFormat);
-
void sendMetadataToAudioDevice(const struct tag *tag);
/* these functions are called in the main parent process while the child