mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 06:53:03 +00:00
Merge pull request #8677 from liamwhite/asan-wuninitialized
audio_core: fix -Wuninitialized when compiling with ASan
This commit is contained in:
commit
417580be2c
|
@ -419,13 +419,13 @@ protected:
|
||||||
/// Workbuffers assigned to this effect
|
/// Workbuffers assigned to this effect
|
||||||
std::array<AddressInfo, 2> workbuffers{AddressInfo(CpuAddr(0), 0), AddressInfo(CpuAddr(0), 0)};
|
std::array<AddressInfo, 2> workbuffers{AddressInfo(CpuAddr(0), 0), AddressInfo(CpuAddr(0), 0)};
|
||||||
/// Aux/Capture buffer info for reading
|
/// Aux/Capture buffer info for reading
|
||||||
CpuAddr send_buffer_info;
|
CpuAddr send_buffer_info{};
|
||||||
/// Aux/Capture buffer for reading
|
/// Aux/Capture buffer for reading
|
||||||
CpuAddr send_buffer;
|
CpuAddr send_buffer{};
|
||||||
/// Aux/Capture buffer info for writing
|
/// Aux/Capture buffer info for writing
|
||||||
CpuAddr return_buffer_info;
|
CpuAddr return_buffer_info{};
|
||||||
/// Aux/Capture buffer for writing
|
/// Aux/Capture buffer for writing
|
||||||
CpuAddr return_buffer;
|
CpuAddr return_buffer{};
|
||||||
/// Parameters of this effect
|
/// Parameters of this effect
|
||||||
std::array<u8, sizeof(InParameterVersion2)> parameter{};
|
std::array<u8, sizeof(InParameterVersion2)> parameter{};
|
||||||
/// State of this effect used by the AudioRenderer across calls
|
/// State of this effect used by the AudioRenderer across calls
|
||||||
|
|
Loading…
Reference in a new issue