mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-03 00:29:35 +02:00
init player when receiving a header message
This commit is contained in:
parent
94944681c2
commit
7b1323646f
12 changed files with 149 additions and 117 deletions
|
@ -86,7 +86,9 @@ protected:
|
|||
void writer();
|
||||
void setActive(bool active);
|
||||
|
||||
mutable std::mutex activeMutex_;
|
||||
std::atomic<bool> active_;
|
||||
|
||||
mutable std::mutex mutex_;
|
||||
std::thread* readerThread_;
|
||||
std::thread* writerThread_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue