diff options
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 |