From ed25c02966bf944aad480c11fefe34c0f46a728b Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Sun, 19 Mar 2017 23:26:12 +0900 Subject: PMD: ADPCM support --- fmdriver/fmdriver_pmd.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'fmdriver/fmdriver_pmd.h') 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; -- cgit v1.2.3