diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2006-07-14 17:39:14 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2006-07-14 17:39:14 +0000 |
commit | ba9a2c349f1bb079c790e00203464a742920d503 (patch) | |
tree | 20daead4f0126a5c76b5d62ef6309811c822af93 /src/audioOutput.h | |
parent | 26447de0ce7130d798ea5742b90c002a62de01e7 (diff) | |
download | mpd-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/audioOutput.h')
-rw-r--r-- | src/audioOutput.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/audioOutput.h b/src/audioOutput.h index 6e1416661..87e91f678 100644 --- a/src/audioOutput.h +++ b/src/audioOutput.h @@ -26,6 +26,18 @@ #include "tag.h" #include "conf.h" +#define DISABLED_AUDIO_OUTPUT_PLUGIN(plugin) \ + AudioOutputPlugin plugin = { \ + NULL, \ + NULL, \ + NULL, \ + NULL, \ + NULL, \ + NULL, \ + NULL, \ + NULL, \ + }; + typedef struct _AudioOutput AudioOutput; typedef int (* AudioOutputTestDefaultDeviceFunc) (); @@ -80,7 +92,7 @@ typedef struct _AudioOutputPlugin { AudioOutputPlayFunc playFunc; AudioOutputDropBufferedAudioFunc dropBufferedAudioFunc; AudioOutputCloseDeviceFunc closeDeviceFunc; - AudioOutputSendMetadataFunc sendMetdataFunc; + AudioOutputSendMetadataFunc sendMetdataFunc; } AudioOutputPlugin; void initAudioOutputPlugins(); |