1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:57:35 +00:00

LibAudio: Make sure we initialize ResampleHelper member variables

Found by Static Analysis: Sonar Cloud
This commit is contained in:
Brian Gianforcaro 2022-03-27 15:50:56 -07:00 committed by Brian Gianforcaro
parent ecc0459f76
commit 83e96569ed

View file

@ -80,8 +80,8 @@ private:
const u32 m_source; const u32 m_source;
const u32 m_target; const u32 m_target;
u32 m_current_ratio { 0 }; u32 m_current_ratio { 0 };
SampleType m_last_sample_l; SampleType m_last_sample_l {};
SampleType m_last_sample_r; SampleType m_last_sample_r {};
}; };
class Buffer; class Buffer;