From c5a386c9e2cce061310f3660e4898218dabbec31 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Mon, 27 Mar 2017 23:28:47 +0900 Subject: PMD: add initial PPZ8 support --- fmdriver/fmdriver_pmd.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'fmdriver/fmdriver_pmd.h') diff --git a/fmdriver/fmdriver_pmd.h b/fmdriver/fmdriver_pmd.h index ba03cda..708dd9e 100644 --- a/fmdriver/fmdriver_pmd.h +++ b/fmdriver/fmdriver_pmd.h @@ -6,6 +6,7 @@ extern "C" { #endif #include "fmdriver.h" +#include enum { PMD_FILENAMELEN = 8+1+3 }; @@ -222,6 +223,9 @@ struct pmd_part { uint8_t note_proc; // 005b uint8_t gate_min; + // 005c + // for ppz8 + uint16_t actual_freq_upper; // 005e uint8_t curr_note; // 005f @@ -460,7 +464,7 @@ struct driver_pmd { bool pmd_load(struct driver_pmd *pmd, uint8_t *data, uint16_t datalen); void pmd_init(struct fmdriver_work *work, struct driver_pmd *pmd); - +bool pmd_ppc_load(struct fmdriver_work *work, uint8_t *data, size_t datalen); #ifdef __cplusplus } #endif -- cgit v1.2.3