summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/audio
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2021-06-27 00:04:40 +0200
committerKelebek1 <eeeedddccc@hotmail.co.uk>2021-07-01 07:01:01 +0200
commitb455043e45737345fe73d118947db1684bd248ea (patch)
treec05414e81eff4b012bd1b33076fb60da16aace54 /src/core/hle/service/audio
parentDecouple audio processing and run at variable rate (diff)
downloadyuzu-b455043e45737345fe73d118947db1684bd248ea.tar
yuzu-b455043e45737345fe73d118947db1684bd248ea.tar.gz
yuzu-b455043e45737345fe73d118947db1684bd248ea.tar.bz2
yuzu-b455043e45737345fe73d118947db1684bd248ea.tar.lz
yuzu-b455043e45737345fe73d118947db1684bd248ea.tar.xz
yuzu-b455043e45737345fe73d118947db1684bd248ea.tar.zst
yuzu-b455043e45737345fe73d118947db1684bd248ea.zip
Diffstat (limited to 'src/core/hle/service/audio')
-rw-r--r--src/core/hle/service/audio/audren_u.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp
index feb5150e1..7583d68b2 100644
--- a/src/core/hle/service/audio/audren_u.cpp
+++ b/src/core/hle/service/audio/audren_u.cpp
@@ -96,7 +96,7 @@ private:
void RequestUpdateImpl(Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Service_Audio, "(STUBBED) called");
- std::vector<u8> output_params(ctx.GetWriteBufferSize());
+ std::vector<u8> output_params(ctx.GetWriteBufferSize(), 0);
auto result = renderer->UpdateAudioRenderer(ctx.ReadBuffer(), output_params);
if (result.IsSuccess()) {