aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutput.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/audioOutput.h14
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();