mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 21:17:18 +03:00
AirPlay co-existence improvements, couple of display issues
This commit is contained in:
@@ -28,6 +28,9 @@
|
||||
So it can conflict with other display direct writes that have been made during
|
||||
sleep. Note that if DISPLAY_SHUTDOWN has been called meanwhile, it (almost)
|
||||
never happens
|
||||
The display_bus() shall be subscribed by other displayers so that at least
|
||||
when this one (the main) wants to take control over display, it can signal
|
||||
that to others
|
||||
*/
|
||||
|
||||
#define DISPLAY_CLEAR 0x01
|
||||
@@ -67,7 +70,10 @@ extern struct display_s {
|
||||
void (*draw_box)( int x1, int y1, int x2, int y2, bool fill);
|
||||
} *display;
|
||||
|
||||
enum display_bus_cmd_e { DISPLAY_BUS_TAKE, DISPLAY_BUS_GIVE };
|
||||
bool (*display_bus)(void *from, enum display_bus_cmd_e cmd);
|
||||
|
||||
void displayer_scroll(char *string, int speed);
|
||||
void displayer_control(enum displayer_cmd_e cmd, ...);
|
||||
void displayer_metadata(char *artist, char *album, char *title);
|
||||
void displayer_timer(enum displayer_time_e mode, int elapsed, int duration);
|
||||
void displayer_timer(enum displayer_time_e mode, int elapsed, int duration);
|
||||
|
||||
Reference in New Issue
Block a user