forked from ShuriZma/suyu
1
0
Fork 0

audio_core/cubeb_sink: Initialize CubebSinkStream's last_frame data member

Ensures that all member variables are initialized in a deterministic
manner across the board.
This commit is contained in:
Lioncash 2019-02-25 09:40:34 -05:00
parent 8250f9bb1c
commit 04d7b7e09d
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ private:
u32 num_channels{}; u32 num_channels{};
Common::RingBuffer<s16, 0x10000> queue; Common::RingBuffer<s16, 0x10000> queue;
std::array<s16, 2> last_frame; std::array<s16, 2> last_frame{};
std::atomic<bool> should_flush{}; std::atomic<bool> should_flush{};
TimeStretcher time_stretch; TimeStretcher time_stretch;