Skip to content
Snippets Groups Projects
Commit 04d7b7e0 authored by Lioncash's avatar Lioncash
Browse files

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.
parent 8250f9bb
No related branches found
No related tags found
No related merge requests found
...@@ -98,7 +98,7 @@ private: ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment