mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 21:17:18 +03:00
alignment with cspot
This commit is contained in:
@@ -114,6 +114,7 @@ void AudioChunkManager::runTask() {
|
||||
} catch (...) {
|
||||
}
|
||||
} else {
|
||||
// usleep(100*1000);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ std::map<MercuryType, std::string> MercuryTypeMap({
|
||||
{MercuryType::UNSUB, "UNSUB"},
|
||||
});
|
||||
|
||||
MercuryManager::MercuryManager(std::unique_ptr<Session> session): bell::Task("mercuryManager", 8 * 1024, +1, 1)
|
||||
MercuryManager::MercuryManager(std::unique_ptr<Session> session): bell::Task("mercuryManager", 6 * 1024, +1, 1)
|
||||
{
|
||||
this->timeProvider = std::make_shared<TimeProvider>();
|
||||
this->callbacks = std::map<uint64_t, mercuryCallback>();
|
||||
|
||||
@@ -5,7 +5,10 @@
|
||||
#include <errno.h>
|
||||
#include "Logger.h"
|
||||
|
||||
PlainConnection::PlainConnection(){};
|
||||
PlainConnection::PlainConnection()
|
||||
{
|
||||
this->apSock = -1;
|
||||
};
|
||||
|
||||
PlainConnection::~PlainConnection()
|
||||
{
|
||||
|
||||
@@ -83,6 +83,8 @@ void Player::runTask()
|
||||
currentTrack->audioStream->streamFinishedCallback = nullptr;
|
||||
currentTrack->audioStream->audioSink = nullptr;
|
||||
currentTrack->audioStream->pcmCallback = nullptr;
|
||||
} else {
|
||||
//usleep(100000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user