aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-07-29 23:30:01 -0400
committerLiam <byteslice@airmail.cc>2022-07-29 23:30:01 -0400
commit9484b3a70e46035fc65dd340d7ff754cfd3d4384 (patch)
tree58a1d866a0472a0702f2cb50bd8d546454c5a62b /src
parent213b4d15828580af6b4e910044099e078e2929be (diff)
audio_core: fix -Wuninitialized when compiling with ASan
Diffstat (limited to 'src')
-rw-r--r--src/audio_core/renderer/effect/effect_info_base.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audio_core/renderer/effect/effect_info_base.h b/src/audio_core/renderer/effect/effect_info_base.h
index 43d0589cc9..8c95838789 100644
--- a/src/audio_core/renderer/effect/effect_info_base.h
+++ b/src/audio_core/renderer/effect/effect_info_base.h
@@ -419,13 +419,13 @@ protected:
/// Workbuffers assigned to this effect
std::array<AddressInfo, 2> workbuffers{AddressInfo(CpuAddr(0), 0), AddressInfo(CpuAddr(0), 0)};
/// Aux/Capture buffer info for reading
- CpuAddr send_buffer_info;
+ CpuAddr send_buffer_info{};
/// Aux/Capture buffer for reading
- CpuAddr send_buffer;
+ CpuAddr send_buffer{};
/// Aux/Capture buffer info for writing
- CpuAddr return_buffer_info;
+ CpuAddr return_buffer_info{};
/// Aux/Capture buffer for writing
- CpuAddr return_buffer;
+ CpuAddr return_buffer{};
/// Parameters of this effect
std::array<u8, sizeof(InParameterVersion2)> parameter{};
/// State of this effect used by the AudioRenderer across calls