Add an "active" mode that can time out after a period -- 10 seconds by default -- after play ends.
This commit is contained in:
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user