Home
last modified time | relevance | path

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

/lvgl-3.7.0/demos/music/
Dlv_demo_music_main.c799 uint32_t band_w = 0; /*Real number of bars in this band.*/ in spectrum_draw_event_cb() local
802 band_w = 20; in spectrum_draw_event_cb()
805 band_w = 8; in spectrum_draw_event_cb()
808 band_w = 4; in spectrum_draw_event_cb()
811 band_w = 2; in spectrum_draw_event_cb()
816 for(f = 0; f < band_w; f++) { in spectrum_draw_event_cb()
818 int32_t ampl_mod = get_cos(f * 360 / band_w + 180, 180) + 180; in spectrum_draw_event_cb()
819 int32_t t = BAR_PER_BAND_CNT * s - band_w / 2 + f; in spectrum_draw_event_cb()