cspot dsconnect when paused handling

This commit is contained in:
philippe44
2023-09-24 00:18:30 -07:00
parent 90f53db953
commit 53fa83b2dd
3 changed files with 32 additions and 13 deletions

View File

@@ -92,8 +92,7 @@ size_t cspotPlayer::pcmWrite(uint8_t *pcm, size_t bytes, std::string_view trackI
trackHandler();
}
dataHandler(pcm, bytes);
return bytes;
return dataHandler(pcm, bytes);
}
extern "C" {