acid-drop- Hacking the planet from a LilyGo T-Deck using custom firmware |
git clone git://git.acid.vegas/acid-drop.git |
Log | Files | Refs | Archive | README | LICENSE |
lv_demo_music.h (987B)
1 /** 2 * @file lv_demo_music.h 3 * 4 */ 5 6 #ifndef LV_DEMO_MUSIC_H 7 #define LV_DEMO_MUSIC_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 #include "../lv_demos.h" 17 18 #if LV_USE_DEMO_MUSIC 19 20 /********************* 21 * DEFINES 22 *********************/ 23 24 #if LV_DEMO_MUSIC_LARGE 25 # define LV_DEMO_MUSIC_HANDLE_SIZE 40 26 #else 27 # define LV_DEMO_MUSIC_HANDLE_SIZE 20 28 #endif 29 30 /********************** 31 * TYPEDEFS 32 **********************/ 33 34 /********************** 35 * GLOBAL PROTOTYPES 36 **********************/ 37 38 void lv_demo_music(void); 39 const char *_lv_demo_music_get_title(uint32_t track_id); 40 const char *_lv_demo_music_get_artist(uint32_t track_id); 41 const char *_lv_demo_music_get_genre(uint32_t track_id); 42 uint32_t _lv_demo_music_get_track_length(uint32_t track_id); 43 44 /********************** 45 * MACROS 46 **********************/ 47 48 #endif /*LV_USE_DEMO_MUSIC*/ 49 50 #ifdef __cplusplus 51 } /* extern "C" */ 52 #endif 53 54 #endif /*LV_DEMO_MUSIC_H*/