From 3e87033145fc090f147d17b0bde1bc5e0e61baab Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 10 Feb 2009 17:21:10 +0100 Subject: 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. --- src/audio.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/audio.h') 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, -- cgit v1.2.3