mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
service/audren_u: Forward RequestUpdateAuto through the same function as RequestUpdate
Based off RE, they both currently go through the same codepath with no difference in behavior.
This commit is contained in:
parent
3bd503d59c
commit
3619b31fc0
1 changed files with 3 additions and 3 deletions
|
@ -28,13 +28,13 @@ public:
|
||||||
{1, &IAudioRenderer::GetSampleCount, "GetSampleCount"},
|
{1, &IAudioRenderer::GetSampleCount, "GetSampleCount"},
|
||||||
{2, &IAudioRenderer::GetMixBufferCount, "GetMixBufferCount"},
|
{2, &IAudioRenderer::GetMixBufferCount, "GetMixBufferCount"},
|
||||||
{3, &IAudioRenderer::GetState, "GetState"},
|
{3, &IAudioRenderer::GetState, "GetState"},
|
||||||
{4, &IAudioRenderer::RequestUpdate, "RequestUpdate"},
|
{4, &IAudioRenderer::RequestUpdateImpl, "RequestUpdate"},
|
||||||
{5, &IAudioRenderer::Start, "Start"},
|
{5, &IAudioRenderer::Start, "Start"},
|
||||||
{6, &IAudioRenderer::Stop, "Stop"},
|
{6, &IAudioRenderer::Stop, "Stop"},
|
||||||
{7, &IAudioRenderer::QuerySystemEvent, "QuerySystemEvent"},
|
{7, &IAudioRenderer::QuerySystemEvent, "QuerySystemEvent"},
|
||||||
{8, &IAudioRenderer::SetRenderingTimeLimit, "SetRenderingTimeLimit"},
|
{8, &IAudioRenderer::SetRenderingTimeLimit, "SetRenderingTimeLimit"},
|
||||||
{9, &IAudioRenderer::GetRenderingTimeLimit, "GetRenderingTimeLimit"},
|
{9, &IAudioRenderer::GetRenderingTimeLimit, "GetRenderingTimeLimit"},
|
||||||
{10, nullptr, "RequestUpdateAuto"},
|
{10, &IAudioRenderer::RequestUpdateImpl, "RequestUpdateAuto"},
|
||||||
{11, nullptr, "ExecuteAudioRendererRendering"},
|
{11, nullptr, "ExecuteAudioRendererRendering"},
|
||||||
};
|
};
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
@ -79,7 +79,7 @@ private:
|
||||||
LOG_DEBUG(Service_Audio, "called");
|
LOG_DEBUG(Service_Audio, "called");
|
||||||
}
|
}
|
||||||
|
|
||||||
void RequestUpdate(Kernel::HLERequestContext& ctx) {
|
void RequestUpdateImpl(Kernel::HLERequestContext& ctx) {
|
||||||
ctx.WriteBuffer(renderer->UpdateAudioRenderer(ctx.ReadBuffer()));
|
ctx.WriteBuffer(renderer->UpdateAudioRenderer(ctx.ReadBuffer()));
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
|
|
Loading…
Reference in a new issue