
#ifndef _FMINTF_H_
#define _FMINTF_H_

enum {
  SND_NONE,     /* YM2413 emulation disabled */
  SND_EMU2413,  /* Mitsutaka Okazaki's YM2413 emulator */
  SND_YM2413    /* Jarek Burczynski's YM2413 emulator */
};

#if 0
typedef struct {
  uint8 latch;
  uint8 reg[0x40];
} FM_Context;

/* Function prototypes */
void FM_Init(void);
void FM_Shutdown(void);
void FM_Reset(void);
void FM_Update(int16 **buffer, int length);
void FM_Write(int offset, int data);
void FM_GetContext(uint8 *data);
void FM_SetContext(uint8 *data);
int FM_GetContextSize(void);
uint8 *FM_GetContextPtr(void);
void FM_WriteReg(int reg, int data);
#endif

#endif /* _FMINTF_H_ */
