From 0401ee9f58ea842cb4aef687e8e107380d46445c Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Wed, 25 Oct 2017 03:01:50 +0300 Subject: Clean-up - Move all private variables into MIDIplay class away from public ADL_MIDIPlayer structure - Comment out most of legacy code - Implement new-style ReadVarLenEx for error-checked var-len value reading process TODO: Stabilize this and implement missing fields and API calls (meta-data retreiving) --- src/dbopl.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/dbopl.h') diff --git a/src/dbopl.h b/src/dbopl.h index bbe40de..54384da 100644 --- a/src/dbopl.h +++ b/src/dbopl.h @@ -84,14 +84,14 @@ namespace DBOPL sm3AMAM, sm6Start, sm2Percussion, - sm3Percussion, + sm3Percussion } SynthMode; //Shifts for the values contained in chandata variable enum { SHIFT_KSLBASE = 16, - SHIFT_KEYCODE = 24, + SHIFT_KEYCODE = 24 }; struct Operator @@ -103,7 +103,7 @@ namespace DBOPL MASK_KSR = 0x10, MASK_SUSTAIN = 0x20, MASK_VIBRATO = 0x40, - MASK_TREMOLO = 0x80, + MASK_TREMOLO = 0x80 }; typedef enum @@ -112,7 +112,7 @@ namespace DBOPL RELEASE, SUSTAIN, DECAY, - ATTACK, + ATTACK } State; VolumeHandler volHandler; -- cgit v1.2.3