summaryrefslogtreecommitdiff
path: root/plugins/gme/game-music-emu-0.6pre/gme/s_opl.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gme/game-music-emu-0.6pre/gme/s_opl.h')
-rw-r--r--plugins/gme/game-music-emu-0.6pre/gme/s_opl.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/gme/game-music-emu-0.6pre/gme/s_opl.h b/plugins/gme/game-music-emu-0.6pre/gme/s_opl.h
new file mode 100644
index 00000000..227c03c3
--- /dev/null
+++ b/plugins/gme/game-music-emu-0.6pre/gme/s_opl.h
@@ -0,0 +1,26 @@
+#ifndef S_OPL_H__
+#define S_OPL_H__
+
+#include "kmsnddev.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+enum {
+ OPL_TYPE_OPLL = 0x10, /* YAMAHA YM2413 */
+ OPL_TYPE_MSXMUSIC = 0x11, /* YAMAHA YM2413 */
+ OPL_TYPE_SMSFMUNIT = 0x12, /* YAMAHA YM2413? */
+ OPL_TYPE_VRC7 = 0x13, /* KONAMI 053982 VRV VII */
+ OPL_TYPE_OPL = 0x20, /* YAMAHA YM3526 */
+ OPL_TYPE_MSXAUDIO = 0x21, /* YAMAHA Y8950 */
+ OPL_TYPE_OPL2 = 0x22 /* YAMAHA YM3812 */
+};
+
+KMIF_SOUND_DEVICE *OPLSoundAlloc(Uint32 opl_type);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* S_OPL_H__ */