aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-10 11:43:29 +0200
committerMax Kellermann <max@duempel.org>2008-09-10 11:43:29 +0200
commita53047af7d60ae589cdbbbbde498b0e1336167f2 (patch)
treeb4784de6b19b92ba88bfd9a4266b8ccb52962754
parentd92543698c8d5ffa0c1adec4da343e5d7ab65d02 (diff)
downloadmpd-a53047af7d60ae589cdbbbbde498b0e1336167f2.tar.gz
mpd-a53047af7d60ae589cdbbbbde498b0e1336167f2.tar.xz
mpd-a53047af7d60ae589cdbbbbde498b0e1336167f2.zip
audio: removed isAudioDeviceOpen()
The function isAudioDeviceOpen() is never used.
-rw-r--r--src/audio.c5
-rw-r--r--src/audio.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/src/audio.c b/src/audio.c
index dead45991..9d92f2bd7 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -345,11 +345,6 @@ int playAudio(const char *playChunk, size_t size)
return 0;
}
-int isAudioDeviceOpen(void)
-{
- return audioOpened;
-}
-
void dropBufferedAudio(void)
{
unsigned int i;
diff --git a/src/audio.h b/src/audio.h
index 6e8db5944..4e34b0f61 100644
--- a/src/audio.h
+++ b/src/audio.h
@@ -49,8 +49,6 @@ void dropBufferedAudio(void);
void closeAudioDevice(void);
-int isAudioDeviceOpen(void);
-
int isCurrentAudioFormat(const struct audio_format *audioFormat);
void sendMetadataToAudioDevice(const struct tag *tag);