diff options
Diffstat (limited to 'fmdriver/ppz8.h')
-rw-r--r-- | fmdriver/ppz8.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fmdriver/ppz8.h b/fmdriver/ppz8.h index cb9a158..f4ef4cb 100644 --- a/fmdriver/ppz8.h +++ b/fmdriver/ppz8.h @@ -43,6 +43,7 @@ struct ppz8 { uint16_t srate; uint8_t totalvol; uint16_t mix_volume; + unsigned mask; }; void ppz8_init(struct ppz8 *ppz8, uint16_t srate, uint16_t mix_volume); @@ -63,6 +64,9 @@ static inline uint32_t ppz8_pzi_decodebuf_samples(uint32_t pzidatalen) { return (pzidatalen - 0x920) * 2; } +unsigned ppz8_get_mask(const struct ppz8 *ppz8); +void ppz8_set_mask(struct ppz8 *ppz8, unsigned mask); + struct ppz8_functbl { void (*channel_play)(struct ppz8 *ppz8, uint8_t channel, uint8_t voice); void (*channel_stop)(struct ppz8 *ppz8, uint8_t channel); |