make equalizer a string + make sure output-i2s is exited

- Can't really use BLOB (creates issue with HTTP visualizer)
- Player was stuck after WiFi loss b/c with some race conditions, BT deinit crashes and creates the reboot wanted after 5*5 failures. But when BT does not crash, reboot was not happening and player was stuck with slimproto not exited and player not rebooted
This commit is contained in:
Philippe G
2021-07-01 01:20:59 -07:00
parent 0db9631700
commit 48e8525ba9
3 changed files with 28 additions and 10 deletions

View File

@@ -573,10 +573,11 @@ static void output_thread_i2s(void *arg) {
SET_MIN_MAX( TIME_MEASUREMENT_GET(timer_start),i2s_time);
}
vTaskDelete(NULL);
if (spdif.enabled) free(spdif.buf);
ended = true;
vTaskDelete(NULL);
}
/****************************************************************************************