Home
last modified time | relevance | path

Searched refs:BAR_CNT (Results 1 – 1 of 1) sorted by relevance

/lvgl-3.7.0/demos/music/
Dlv_demo_music_main.c33 #define BAR_CNT 20 macro
34 #define DEG_STEP (180/BAR_CNT)
36 #define BAR_PER_BAND_CNT (BAR_CNT / BAND_CNT)
244 for(i = 0; i < BAR_CNT; i++) { in _lv_demo_music_main_create()
794 for(i = 0; i < BAR_CNT; i++) r[i] = r_in + min_a; in spectrum_draw_event_cb()
820 if(t < 0) t = BAR_CNT + t; in spectrum_draw_event_cb()
821 if(t >= BAR_CNT) t = t - BAR_CNT; in spectrum_draw_event_cb()
829 for(i = 0; i < BAR_CNT; i++) { in spectrum_draw_event_cb()
832 uint32_t j = (i + bar_rot + rnd_array[bar_ofs % 10]) % BAR_CNT; in spectrum_draw_event_cb()
833 uint32_t k = (i + bar_rot + rnd_array[(bar_ofs + 1) % 10]) % BAR_CNT; in spectrum_draw_event_cb()