diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-03-27 23:28:47 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-03-27 23:28:47 +0900 |
commit | c5a386c9e2cce061310f3660e4898218dabbec31 (patch) | |
tree | a031fb49765e3891a0f58427a051ea6ffeaabf2e /fmdriver/fmdriver_pmd.h | |
parent | ed25c02966bf944aad480c11fefe34c0f46a728b (diff) |
PMD: add initial PPZ8 support
Diffstat (limited to 'fmdriver/fmdriver_pmd.h')
-rw-r--r-- | fmdriver/fmdriver_pmd.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 <stddef.h> 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 |