diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-02-19 19:57:54 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-02-19 19:57:54 +0900 |
commit | 98cb7c12e832a99cb0fb0e04094106c0ff3b76af (patch) | |
tree | c5ac47a6c16c5beeaa6c385e878538098591a922 /libopna/opnafm.h | |
parent | 8efbfa68b4a438f215dfeec716b7a13e1f9b844b (diff) |
libopna: hires envelope
Diffstat (limited to 'libopna/opnafm.h')
-rw-r--r-- | libopna/opnafm.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |