From ba9a2c349f1bb079c790e00203464a742920d503 Mon Sep 17 00:00:00 2001 From: "J. Alexander Treuman" Date: Fri, 14 Jul 2006 17:39:14 +0000 Subject: Use a macro to declare disabled audio output plugins git-svn-id: https://svn.musicpd.org/mpd/trunk@4321 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/audioOutputs/audioOutput_osx.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'src/audioOutputs/audioOutput_osx.c') 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 -AudioOutputPlugin osxPlugin = -{ - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL -}; +DISABLED_AUDIO_OUTPUT_PLUGIN(osxPlugin) #endif -- cgit v1.2.3