summaryrefslogtreecommitdiff
path: root/plugins/gme/game-music-emu-0.6pre/gme/s_opl.h
blob: 227c03c3c4d94fbf0443f0be691ae7b812faacce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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__ */