mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 21:17:18 +03:00
update CSpot + clear audio buffer when changing track
This commit is contained in:
@@ -69,7 +69,6 @@ private:
|
||||
std::unique_ptr<WrappedSemaphore> queueSemaphore;
|
||||
unsigned long long lastRequestTimestamp = -1;
|
||||
unsigned long long lastPingTimestamp = -1;
|
||||
std::atomic<bool> isRunning = false;
|
||||
uint64_t sequenceId;
|
||||
uint32_t audioKeySequence;
|
||||
audioKeyCallback keyCallback;
|
||||
@@ -78,10 +77,11 @@ private:
|
||||
public:
|
||||
MercuryManager(std::unique_ptr<Session> session);
|
||||
~MercuryManager();
|
||||
std::atomic<bool> isRunning = false;
|
||||
voidCallback reconnectedCallback;
|
||||
uint16_t audioChunkSequence;
|
||||
std::shared_ptr<TimeProvider> timeProvider;
|
||||
std::string countryCode;
|
||||
char countryCode[2];
|
||||
|
||||
bool timeoutHandler();
|
||||
uint64_t execute(MercuryType method, std::string uri, mercuryCallback &callback, mercuryCallback &subscription, mercuryParts &payload);
|
||||
|
||||
Reference in New Issue
Block a user