aboutsummaryrefslogtreecommitdiff
path: root/fmdriver/fmdriver.h
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-04-15 01:00:20 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-04-15 01:00:20 +0900
commit680ab52d9e151676b8f90d105b23d2d0d89b0471 (patch)
tree5a05e82900393d2e1ecdf034cf1735d4ebfaec98 /fmdriver/fmdriver.h
parent428126ee4c8802a4b5f9c9ee491d54013857741b (diff)
add fmdsp fft analyzer
Diffstat (limited to 'fmdriver/fmdriver.h')
-rw-r--r--fmdriver/fmdriver.h8
1 files changed, 7 insertions, 1 deletions
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