Do a long-overdue rebuild of the buffered audio processor and, with everything we have figured out, implement a cleaner method to handle both immediate and deferred flush requests. Remove lots of old flags and redundant code. Leave in a few debug messages.
This commit is contained in:
@@ -54,10 +54,10 @@ void on_message(__attribute__((unused)) struct mosquitto *mosq,
|
||||
debug(2, "[MQTT]: received Message on topic %s: %s\n", msg->topic, payload);
|
||||
|
||||
// All recognized commands
|
||||
char *commands[] = {"command", "beginff", "beginrew", "mutetoggle", "nextitem",
|
||||
"previtem", "pause", "playpause", "play", "stop",
|
||||
"playresume", "shuffle_songs", "volumedown", "volumeup", "disconnect",
|
||||
NULL};
|
||||
char *commands[] = {"command", "beginff", "beginrew", "mutetoggle",
|
||||
"nextitem", "previtem", "pause", "playpause",
|
||||
"play", "stop", "playresume", "shuffle_songs",
|
||||
"volumedown", "volumeup", "disconnect", NULL};
|
||||
|
||||
int it = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user