From f141d9053396e6bd177c8f46095098fc573f0ab0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 10 Feb 2009 18:51:38 +0100 Subject: audio: removed isCurrentAudioFormat() This function isn't used anymore. --- src/audio.c | 8 -------- src/audio.h | 2 -- 2 files changed, 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 -- cgit v1.2.3