Add an "active" mode that can time out after a period -- 10 seconds by default -- after play ends.

This commit is contained in:
Mike Brady
2019-01-21 21:43:55 +00:00
parent 604ca8dee4
commit 2e4428538d
18 changed files with 300 additions and 261 deletions
+2 -1
View File
@@ -1713,7 +1713,8 @@ void mdnsd_stop(struct mdnsd *s) {
assert(s != NULL);
struct timeval tv = {
.tv_sec = 0, .tv_usec = 500 * 1000,
.tv_sec = 0,
.tv_usec = 500 * 1000,
};
s->stop_flag = 1;