mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-03 08:39:49 +02:00
Fix data races
This commit is contained in:
parent
c635a9cd01
commit
4df05105a9
8 changed files with 26 additions and 13 deletions
|
@ -70,8 +70,8 @@ protected:
|
|||
|
||||
protected:
|
||||
std::vector<std::shared_ptr<PcmStream>> streams_;
|
||||
std::recursive_mutex active_mutex_;
|
||||
std::shared_ptr<PcmStream> active_stream_;
|
||||
// std::recursive_mutex mutex_;
|
||||
std::unique_ptr<Resampler> resampler_;
|
||||
bool first_read_;
|
||||
std::chrono::time_point<std::chrono::steady_clock> next_tick_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue