mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 20:47:08 +03:00
BT, EMBEDDED, thread joining
Fix a few BT issues (detection & sink name) End threads on any server missing for too long (except if server IP set manually) Still cannot end threads when BT active (works wit I2S) Thread lokc-up still happens when switching tracks quickly
This commit is contained in:
@@ -106,10 +106,7 @@ static int launchsqueezelite(int argc, char **argv)
|
||||
cfg.thread_name= "squeezelite";
|
||||
cfg.inherit_cfg = true;
|
||||
esp_pthread_set_cfg(&cfg);
|
||||
pthread_attr_t attr;
|
||||
pthread_attr_init(&attr);
|
||||
pthread_create(&thread_squeezelite, &attr, squeezelite_thread,NULL);
|
||||
pthread_attr_destroy(&attr);
|
||||
pthread_create(&thread_squeezelite, NULL, squeezelite_thread,NULL);
|
||||
ESP_LOGD(TAG ,"Back to console thread!");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user