aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMax Horn2003-07-31 12:33:33 +0000
committerMax Horn2003-07-31 12:33:33 +0000
commit1b52e9f19cec1693dc9331b0d503aff07f507427 (patch)
treeb58aeeb9e9156a9c3b7477c6116da3f78ee07675 /sound
parentf7ee6d2ce10fb215067ee1a32d4cb124aaa881af (diff)
downloadscummvm-rg350-1b52e9f19cec1693dc9331b0d503aff07f507427.tar.gz
scummvm-rg350-1b52e9f19cec1693dc9331b0d503aff07f507427.tar.bz2
scummvm-rg350-1b52e9f19cec1693dc9331b0d503aff07f507427.zip
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
Diffstat (limited to 'sound')
-rw-r--r--sound/fmopl.h13
1 files changed, 11 insertions, 2 deletions
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);