ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

mame.h File Reference

#include "common/scummsys.h"
#include "common/random.h"
#include "audio/fmopl.h"
Include dependency graph for mame.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  OPL::MAME::fm_opl_slot
struct  OPL::MAME::fm_opl_channel
struct  OPL::MAME::fm_opl_f
class  OPL::MAME::OPL

Namespaces

namespace  OPL
namespace  OPL::MAME

Defines

#define OPL_TYPE_WAVESEL   0x01
#define OPL_TYPE_YM3526   (0)
#define OPL_TYPE_YM3812   (OPL_TYPE_WAVESEL)

Typedefs

typedef void(* OPL::MAME::OPL_TIMERHANDLER )(int channel, double interval_Sec)
typedef void(* OPL::MAME::OPL_IRQHANDLER )(int param, int irq)
typedef void(* OPL::MAME::OPL_UPDATEHANDLER )(int param, int min_interval_us)
typedef struct
OPL::MAME::fm_opl_slot 
OPL::MAME::OPL_SLOT
typedef struct
OPL::MAME::fm_opl_channel 
OPL::MAME::OPL_CH
typedef struct OPL::MAME::fm_opl_f OPL::MAME::FM_OPL

Enumerations

enum  {
  OPL::MAME::FMOPL_ENV_BITS_HQ = 16, OPL::MAME::FMOPL_ENV_BITS_MQ = 8, OPL::MAME::FMOPL_ENV_BITS_LQ = 8, OPL::MAME::FMOPL_EG_ENT_HQ = 4096,
  OPL::MAME::FMOPL_EG_ENT_MQ = 1024, OPL::MAME::FMOPL_EG_ENT_LQ = 128
}

Functions

void OPL::MAME::OPLBuildTables (int ENV_BITS_PARAM, int EG_ENT_PARAM)
FM_OPL * OPL::MAME::OPLCreate (int type, int clock, int rate)
void OPL::MAME::OPLDestroy (FM_OPL *OPL)
void OPL::MAME::OPLSetTimerHandler (FM_OPL *OPL, OPL_TIMERHANDLER TimerHandler, int channelOffset)
void OPL::MAME::OPLSetIRQHandler (FM_OPL *OPL, OPL_IRQHANDLER IRQHandler, int param)
void OPL::MAME::OPLSetUpdateHandler (FM_OPL *OPL, OPL_UPDATEHANDLER UpdateHandler, int param)
void OPL::MAME::OPLResetChip (FM_OPL *OPL)
int OPL::MAME::OPLWrite (FM_OPL *OPL, int a, int v)
unsigned char OPL::MAME::OPLRead (FM_OPL *OPL, int a)
int OPL::MAME::OPLTimerOver (FM_OPL *OPL, int c)
void OPL::MAME::OPLWriteReg (FM_OPL *OPL, int r, int v)
void OPL::MAME::YM3812UpdateOne (FM_OPL *OPL, int16 *buffer, int length)
FM_OPL * OPL::MAME::makeAdLibOPL (int rate)

Define Documentation

#define OPL_TYPE_WAVESEL   0x01

Definition at line 52 of file mame.h.

#define OPL_TYPE_YM3526   (0)

Definition at line 155 of file mame.h.

#define OPL_TYPE_YM3812   (OPL_TYPE_WAVESEL)

Definition at line 156 of file mame.h.



Generated on Sat Jun 22 2019 05:01:06 for ResidualVM by doxygen 1.7.1
curved edge   curved edge