From d78900cd1497441d7712805b08072e46ee361ff8 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Sun, 19 Feb 2017 17:25:56 +0900 Subject: add opna status display --- fmdriver/ppz8.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fmdriver/ppz8.c') diff --git a/fmdriver/ppz8.c b/fmdriver/ppz8.c index 39caf0d..8838367 100644 --- a/fmdriver/ppz8.c +++ b/fmdriver/ppz8.c @@ -1,5 +1,6 @@ #include "ppz8.h" #include "fmdriver_common.h" +#include void ppz8_init(struct ppz8 *ppz8, uint16_t srate, uint16_t mix_volume) { for (int i = 0; i < 2; i++) { @@ -269,6 +270,7 @@ static void ppz8_channel_loopoffset(struct ppz8 *ppz8, uint8_t ch, struct ppz8_channel *channel = &ppz8->channel[ch]; channel->loopstartoff = startoff; channel->loopendoff = endoff; + fprintf(stderr, "channel: %d, start: %08x, end: %08x\n", ch, startoff, endoff); } static void ppz8_channel_pan(struct ppz8 *ppz8, uint8_t ch, uint8_t pan) { -- cgit v1.2.3