aboutsummaryrefslogtreecommitdiff
path: root/src/dbopl.h
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2017-10-25 03:01:50 +0300
committerWohlstand <admin@wohlnet.ru>2017-10-25 03:01:50 +0300
commit0401ee9f58ea842cb4aef687e8e107380d46445c (patch)
tree900ba7dad4b6bb70bad88c401cff1494884de2bb /src/dbopl.h
parent6783770a8533dd099b39c51a5c3f7f5f4000b4bc (diff)
downloadlibADLMIDI-0401ee9f58ea842cb4aef687e8e107380d46445c.tar.gz
libADLMIDI-0401ee9f58ea842cb4aef687e8e107380d46445c.tar.bz2
libADLMIDI-0401ee9f58ea842cb4aef687e8e107380d46445c.zip
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)
Diffstat (limited to 'src/dbopl.h')
-rw-r--r--src/dbopl.h8
1 files changed, 4 insertions, 4 deletions
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;