aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/winmm_output_plugin.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-17 08:54:28 +0200
committerMax Kellermann <max@duempel.org>2011-09-17 19:51:41 +0200
commit3c9bcdd34701196c3d662888c3506a2a001cb252 (patch)
tree38d452f11a5d104e192cd1990947872e1713ea69 /src/output/winmm_output_plugin.h
parent3934d2d30cf97271dc7b33e3b77b101f09f916e7 (diff)
downloadmpd-3c9bcdd34701196c3d662888c3506a2a001cb252.tar.gz
mpd-3c9bcdd34701196c3d662888c3506a2a001cb252.tar.xz
mpd-3c9bcdd34701196c3d662888c3506a2a001cb252.zip
output: per-plugin header
Move the "extern" declarations from output_list.c, for more type safety.
Diffstat (limited to 'src/output/winmm_output_plugin.h')
-rw-r--r--src/output/winmm_output_plugin.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/output/winmm_output_plugin.h b/src/output/winmm_output_plugin.h
index 10f0bb6b1..0605530e1 100644
--- a/src/output/winmm_output_plugin.h
+++ b/src/output/winmm_output_plugin.h
@@ -20,10 +20,18 @@
#ifndef MPD_WINMM_OUTPUT_PLUGIN_H
#define MPD_WINMM_OUTPUT_PLUGIN_H
+#include "check.h"
+
+#ifdef ENABLE_WINMM_OUTPUT
+
#include <windows.h>
struct winmm_output;
+extern const struct audio_output_plugin winmm_output_plugin;
+
HWAVEOUT winmm_output_get_handle(struct winmm_output*);
#endif
+
+#endif