aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_osx.c
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2006-07-14 17:39:14 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2006-07-14 17:39:14 +0000
commitba9a2c349f1bb079c790e00203464a742920d503 (patch)
tree20daead4f0126a5c76b5d62ef6309811c822af93 /src/audioOutputs/audioOutput_osx.c
parent26447de0ce7130d798ea5742b90c002a62de01e7 (diff)
downloadmpd-ba9a2c349f1bb079c790e00203464a742920d503.tar.gz
mpd-ba9a2c349f1bb079c790e00203464a742920d503.tar.xz
mpd-ba9a2c349f1bb079c790e00203464a742920d503.zip
Use a macro to declare disabled audio output plugins
git-svn-id: https://svn.musicpd.org/mpd/trunk@4321 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audioOutputs/audioOutput_osx.c')
-rw-r--r--src/audioOutputs/audioOutput_osx.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/audioOutputs/audioOutput_osx.c b/src/audioOutputs/audioOutput_osx.c
index bcf9e453c..8b0f5a9a6 100644
--- a/src/audioOutputs/audioOutput_osx.c
+++ b/src/audioOutputs/audioOutput_osx.c
@@ -351,24 +351,13 @@ AudioOutputPlugin osxPlugin =
osx_play,
osx_dropBufferedAudio,
osx_closeDevice,
- NULL /* sendMetadataFunc */
+ NULL, /* sendMetadataFunc */
};
#else
#include <stdio.h>
-AudioOutputPlugin osxPlugin =
-{
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL
-};
+DISABLED_AUDIO_OUTPUT_PLUGIN(osxPlugin)
#endif