mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 07:36:41 +02:00
removed command message
This commit is contained in:
parent
fe89220b15
commit
4218bedd01
6 changed files with 2 additions and 79 deletions
|
@ -42,7 +42,6 @@ StreamSession::~StreamSession()
|
|||
void StreamSession::start()
|
||||
{
|
||||
setActive(true);
|
||||
streamActive_ = false;
|
||||
readerThread_ = new thread(&StreamSession::reader, this);
|
||||
writerThread_ = new thread(&StreamSession::writer, this);
|
||||
}
|
||||
|
@ -99,7 +98,7 @@ void StreamSession::socketRead(void* _to, size_t _bytes)
|
|||
|
||||
void StreamSession::add(const shared_ptr<const msg::BaseMessage>& message)
|
||||
{
|
||||
if (!message || !streamActive_)
|
||||
if (!message)
|
||||
return;
|
||||
|
||||
while (messages_.size() > 100)// chunk->getDuration() > 10000)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue