aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-10 17:21:10 +0100
committerMax Kellermann <max@duempel.org>2009-02-10 17:21:10 +0100
commit3e87033145fc090f147d17b0bde1bc5e0e61baab (patch)
treecb2cf1e4d561de83d63cbb5cb108914beba0ca5b /src/audio.h
parentff09a4180769c24d06e0c0e707193d353415887d (diff)
downloadmpd-3e87033145fc090f147d17b0bde1bc5e0e61baab.tar.gz
mpd-3e87033145fc090f147d17b0bde1bc5e0e61baab.tar.xz
mpd-3e87033145fc090f147d17b0bde1bc5e0e61baab.zip
audio: added audio_output_config_count()
audio_output_config_count() returns the number of audio outputs in the configuration file. It is only used by initAudioDriver(). The public function audio_output_count() now returns audioOutputArraySize.
Diffstat (limited to 'src/audio.h')
-rw-r--r--src/audio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/audio.h b/src/audio.h
index c20f74f54..c42d27d5e 100644
--- a/src/audio.h
+++ b/src/audio.h
@@ -29,6 +29,10 @@ struct tag;
struct client;
struct config_param;
+/**
+ * Returns the total number of audio output devices, including those
+ * who are disabled right now.
+ */
unsigned int audio_output_count(void);
void getOutputAudioFormat(const struct audio_format *inFormat,