summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-07-30 03:24:12 -0400
committerGitHub <noreply@github.com>2022-07-30 03:24:12 -0400
commit417580be2cbe2329f60bf92142b03afde4b26fd1 (patch)
tree58a1d866a0472a0702f2cb50bd8d546454c5a62b /src
parent250c3d555e001c342bd12112e3d5c77103200561 (diff)
parent73a87edc45cc32c30d1b65be40b2942473f1aae2 (diff)
Merge pull request #8677 from liamwhite/asan-wuninitialized
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 43d0589cc..8c9583878 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