diff --git a/core/math/audio_frame.h b/core/math/audio_frame.h index c9cd9569b..a749c3f87 100644 --- a/core/math/audio_frame.h +++ b/core/math/audio_frame.h @@ -51,7 +51,7 @@ static const float AUDIO_MIN_PEAK_DB = -200.0f; // linear2db(AUDIO_PEAK_OFFSET) struct AudioFrame { //left and right samples - float l, r; + float l = 0.f, r = 0.f; _ALWAYS_INLINE_ const float &operator[](int idx) const { return idx == 0 ? l : r; } _ALWAYS_INLINE_ float &operator[](int idx) { return idx == 0 ? l : r; }