mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-18 19:46:14 +02:00
Fix initialization order
This commit is contained in:
parent
5f5b6b4638
commit
0e259d1ab4
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ static constexpr auto kCorrectionBegin = 100us;
|
|||
|
||||
|
||||
Stream::Stream(const SampleFormat& in_format, const SampleFormat& out_format)
|
||||
: in_format_(in_format), median_(0), shortMedian_(0), lastUpdate_(0), playedFrames_(0), bufferMs_(cs::msec(500)), soxr_(nullptr), frame_delta_(0),
|
||||
hard_sync_(true), correctAfterXFrames_(0)
|
||||
: in_format_(in_format), median_(0), shortMedian_(0), lastUpdate_(0), playedFrames_(0), correctAfterXFrames_(0), bufferMs_(cs::msec(500)), soxr_(nullptr),
|
||||
frame_delta_(0), hard_sync_(true)
|
||||
{
|
||||
buffer_.setSize(500);
|
||||
shortBuffer_.setSize(100);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue