From 1b52e9f19cec1693dc9331b0d503aff07f507427 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 31 Jul 2003 12:33:33 +0000 Subject: added new header file backends/intern.h; removed some stuff from common/system.h which is either only of interest to backends or code instantiating a backend (->backends/intern.h); also removed fmopl specific enums (->sound/fmopl.h) svn-id: r9327 --- sound/fmopl.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'sound') diff --git a/sound/fmopl.h b/sound/fmopl.h index 8fbeb175e3..5faed21849 100644 --- a/sound/fmopl.h +++ b/sound/fmopl.h @@ -23,10 +23,19 @@ */ -#ifndef __FMOPL_H_ -#define __FMOPL_H_ +#ifndef FMOPL_H_ +#define FMOPL_H_ + #include "scummsys.h" +enum { + FMOPL_ENV_BITS_HQ = 16, + FMOPL_ENV_BITS_LQ = 8, + FMOPL_EG_ENT_HQ = 4096, + FMOPL_EG_ENT_LQ = 128 +}; + + typedef void (*OPL_TIMERHANDLER)(int channel,double interval_Sec); typedef void (*OPL_IRQHANDLER)(int param,int irq); typedef void (*OPL_UPDATEHANDLER)(int param,int min_interval_us); -- cgit v1.2.3