aboutsummaryrefslogtreecommitdiff
path: root/fmdriver/fmdriver_pmd.h
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-03-19 23:26:12 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-03-19 23:26:12 +0900
commited25c02966bf944aad480c11fefe34c0f46a728b (patch)
tree1c4689b6a614e67dfcfb2c8af039f28ad6be5ed0 /fmdriver/fmdriver_pmd.h
parent774eef22ca5d0351bf896e1fe9021347202ce8c1 (diff)
PMD: ADPCM support
Diffstat (limited to 'fmdriver/fmdriver_pmd.h')
-rw-r--r--fmdriver/fmdriver_pmd.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/fmdriver/fmdriver_pmd.h b/fmdriver/fmdriver_pmd.h
index 61b2cbe..ba03cda 100644
--- a/fmdriver/fmdriver_pmd.h
+++ b/fmdriver/fmdriver_pmd.h
@@ -116,7 +116,7 @@ struct pmd_part {
bool env;
} flagext, flagext_b;
// 002f
- uint8_t fm_pan_ams_pms;
+ uint8_t pan;
// 0030
uint8_t ssg_mix;
// 0031
@@ -310,7 +310,12 @@ struct driver_pmd {
} loop;
// 42ba
bool ppsdrv_enabled;
+ // 42bd
+ uint16_t adpcm_start_loop;
+ // 42bf
+ uint16_t adpcm_stop_loop;
// 42c1
+ uint16_t adpcm_release;
// 42c3
// timera_cnt sampled at timerb
uint8_t timera_cnt_b;
@@ -442,6 +447,9 @@ struct driver_pmd {
// 43ce
struct pmd_part parts[PMD_PART_NUM];
+ // 4c9e
+ uint16_t adpcm_addr[256][2];
+
bool ssgeff_tone_mix;
bool ssgeff_noise_mix;
bool ssgeff_on;