aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio.c')
-rw-r--r--src/audio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audio.c b/src/audio.c
index b98540b7d..ef77d7e28 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -128,6 +128,9 @@ void initAudioDriver(void)
param = getNextConfigParam(CONF_AUDIO_OUTPUT, param);
+ /* only allow param to be NULL if there just one audioOutput */
+ assert(param || (audioOutputArraySize == 1));
+
if (!initAudioOutput(output, param)) {
if (param)
{