mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 04:27:12 +03:00
update CSpot + clear audio buffer when changing track
This commit is contained in:
@@ -364,6 +364,8 @@ static bool cspot_cmd_handler(cspot_event_t cmd, va_list args)
|
||||
LOG_INFO("CSpot disconnected");
|
||||
break;
|
||||
case CSPOT_TRACK:
|
||||
_buf_flush(outputbuf);
|
||||
abort_sink = true;
|
||||
LOG_INFO("CSpot sink new track rate %d", output.next_sample_rate);
|
||||
break;
|
||||
case CSPOT_PLAY:
|
||||
|
||||
Reference in New Issue
Block a user