From 680ab52d9e151676b8f90d105b23d2d0d89b0471 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Sat, 15 Apr 2017 01:00:20 +0900 Subject: add fmdsp fft analyzer --- fmdriver/fmdriver.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'fmdriver/fmdriver.h') diff --git a/fmdriver/fmdriver.h b/fmdriver/fmdriver.h index aebe27e..b31c31e 100644 --- a/fmdriver/fmdriver.h +++ b/fmdriver/fmdriver.h @@ -101,11 +101,17 @@ struct fmdriver_work { uint8_t ssg_noise_freq; struct fmdriver_track_status track_status[FMDRIVER_TRACK_NUM]; uint8_t loop_cnt; + // timerb value + uint8_t timerb; // current timerb count uint32_t timerb_cnt; - // loop length + // current timerb count, reset on loop + uint32_t timerb_cnt_loop; + // loop length, calculated before playing uint32_t loop_timerb_cnt; // fm3ex part map + bool playing; + bool paused; }; #endif // MYON_FMDRIVER_H_INCLUDED -- cgit v1.2.3