mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 12:37:01 +03:00
Finalize buttons for AirPlay and BT, worked on coexistence
This commit is contained in:
@@ -65,7 +65,7 @@ static void *decode_thread() {
|
||||
toend = (stream.state <= DISCONNECT);
|
||||
UNLOCK_S;
|
||||
LOCK_O;
|
||||
space = _buf_space(outputbuf);
|
||||
space = !output.external ? _buf_space(outputbuf) : 0;
|
||||
UNLOCK_O;
|
||||
|
||||
LOCK_D;
|
||||
@@ -117,10 +117,6 @@ static void *decode_thread() {
|
||||
}
|
||||
}
|
||||
|
||||
#if EMBEDDED
|
||||
deregister_external();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -246,6 +242,9 @@ void decode_close(void) {
|
||||
pthread_join(thread, NULL);
|
||||
#endif
|
||||
mutex_destroy(decode.mutex);
|
||||
#if EMBEDDED
|
||||
deregister_external();
|
||||
#endif
|
||||
}
|
||||
|
||||
void decode_flush(void) {
|
||||
|
||||
Reference in New Issue
Block a user