From 98cb7c12e832a99cb0fb0e04094106c0ff3b76af Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Sun, 19 Feb 2017 19:57:54 +0900 Subject: libopna: hires envelope --- libopna/opnafm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libopna/opnafm.h') diff --git a/libopna/opnafm.h b/libopna/opnafm.h index cf4fff5..1a7f55a 100644 --- a/libopna/opnafm.h +++ b/libopna/opnafm.h @@ -8,6 +8,7 @@ extern "C" { #endif +#define LIBOPNA_FM_ENV_MAX 1023 enum { ENV_ATTACK, ENV_DECAY, @@ -21,6 +22,8 @@ struct opna_fm_slot { uint32_t phase; // 10 bits uint16_t env; + // 12 bits + uint16_t env_hires; uint16_t env_count; uint8_t env_state; uint8_t rate_shifter; -- cgit v1.2.3