diff options
author | bunnei <bunneidev@gmail.com> | 2018-11-15 23:44:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-15 23:44:36 +0100 |
commit | 98060c6f7b4bd3a6e359fef4eefde5b31158a8de (patch) | |
tree | aa025f8d25b574a01e7c90ef9031c4b146e031dd /src | |
parent | Merge pull request #1637 from FernandoS27/cache (diff) | |
parent | service/audren_u: Forward RequestUpdateAuto through the same function as RequestUpdate (diff) | |
download | yuzu-98060c6f7b4bd3a6e359fef4eefde5b31158a8de.tar yuzu-98060c6f7b4bd3a6e359fef4eefde5b31158a8de.tar.gz yuzu-98060c6f7b4bd3a6e359fef4eefde5b31158a8de.tar.bz2 yuzu-98060c6f7b4bd3a6e359fef4eefde5b31158a8de.tar.lz yuzu-98060c6f7b4bd3a6e359fef4eefde5b31158a8de.tar.xz yuzu-98060c6f7b4bd3a6e359fef4eefde5b31158a8de.tar.zst yuzu-98060c6f7b4bd3a6e359fef4eefde5b31158a8de.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/audio/audren_u.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp index 35a8bef6c..d3ea57ea7 100644 --- a/src/core/hle/service/audio/audren_u.cpp +++ b/src/core/hle/service/audio/audren_u.cpp @@ -28,13 +28,13 @@ public: {1, &IAudioRenderer::GetSampleCount, "GetSampleCount"}, {2, &IAudioRenderer::GetMixBufferCount, "GetMixBufferCount"}, {3, &IAudioRenderer::GetState, "GetState"}, - {4, &IAudioRenderer::RequestUpdate, "RequestUpdate"}, + {4, &IAudioRenderer::RequestUpdateImpl, "RequestUpdate"}, {5, &IAudioRenderer::Start, "Start"}, {6, &IAudioRenderer::Stop, "Stop"}, {7, &IAudioRenderer::QuerySystemEvent, "QuerySystemEvent"}, {8, &IAudioRenderer::SetRenderingTimeLimit, "SetRenderingTimeLimit"}, {9, &IAudioRenderer::GetRenderingTimeLimit, "GetRenderingTimeLimit"}, - {10, nullptr, "RequestUpdateAuto"}, + {10, &IAudioRenderer::RequestUpdateImpl, "RequestUpdateAuto"}, {11, nullptr, "ExecuteAudioRendererRendering"}, }; // clang-format on @@ -79,7 +79,7 @@ private: LOG_DEBUG(Service_Audio, "called"); } - void RequestUpdate(Kernel::HLERequestContext& ctx) { + void RequestUpdateImpl(Kernel::HLERequestContext& ctx) { ctx.WriteBuffer(renderer->UpdateAudioRenderer(ctx.ReadBuffer())); IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); |