mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-30 03:18:24 +03:00
trying to follow cspot...
This commit is contained in:
@@ -1,11 +1,25 @@
|
||||
#include "MercurySession.h"
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include "BellLogger.h"
|
||||
#include "BellTask.h"
|
||||
#include "BellUtils.h"
|
||||
#include "CSpotContext.h"
|
||||
#include "Logger.h"
|
||||
|
||||
#include <string.h> // for memcpy
|
||||
#include <memory> // for shared_ptr
|
||||
#include <mutex> // for scoped_lock
|
||||
#include <stdexcept> // for runtime_error
|
||||
#include <type_traits> // for remove_extent_t, __underlying_type_impl<>:...
|
||||
#include <utility> // for pair
|
||||
|
||||
#ifndef _WIN32
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#include "BellLogger.h" // for AbstractLogger
|
||||
#include "BellTask.h" // for Task
|
||||
#include "BellUtils.h" // for BELL_SLEEP_MS
|
||||
#include "Logger.h" // for CSPOT_LOG
|
||||
#include "NanoPBHelper.h" // for pbPutString, pbDecode, pbEncode
|
||||
#include "PlainConnection.h" // for PlainConnection
|
||||
#include "ShannonConnection.h" // for ShannonConnection
|
||||
#include "TimeProvider.h" // for TimeProvider
|
||||
#include "Utils.h" // for extract, pack, hton64
|
||||
|
||||
using namespace cspot;
|
||||
|
||||
@@ -167,7 +181,7 @@ void MercurySession::handlePacket() {
|
||||
}
|
||||
|
||||
void MercurySession::failAllPending() {
|
||||
Response response = { };
|
||||
Response response = {};
|
||||
response.fail = true;
|
||||
|
||||
// Fail all callbacks
|
||||
|
||||
Reference in New Issue
Block a user