mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-09 21:19:57 +00:00
Updated audren with more service names.
This commit is contained in:
parent
c0011fdacd
commit
ed2da0ef70
1 changed files with 14 additions and 10 deletions
|
@ -19,16 +19,18 @@ class IAudioRenderer final : public ServiceFramework<IAudioRenderer> {
|
||||||
public:
|
public:
|
||||||
IAudioRenderer() : ServiceFramework("IAudioRenderer") {
|
IAudioRenderer() : ServiceFramework("IAudioRenderer") {
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
{0x0, nullptr, "GetAudioRendererSampleRate"},
|
{0, nullptr, "GetAudioRendererSampleRate"},
|
||||||
{0x1, nullptr, "GetAudioRendererSampleCount"},
|
{1, nullptr, "GetAudioRendererSampleCount"},
|
||||||
{0x2, nullptr, "GetAudioRendererMixBufferCount"},
|
{2, nullptr, "GetAudioRendererMixBufferCount"},
|
||||||
{0x3, nullptr, "GetAudioRendererState"},
|
{3, nullptr, "GetAudioRendererState"},
|
||||||
{0x4, &IAudioRenderer::RequestUpdateAudioRenderer, "RequestUpdateAudioRenderer"},
|
{4, &IAudioRenderer::RequestUpdateAudioRenderer, "RequestUpdateAudioRenderer"},
|
||||||
{0x5, &IAudioRenderer::StartAudioRenderer, "StartAudioRenderer"},
|
{5, &IAudioRenderer::StartAudioRenderer, "StartAudioRenderer"},
|
||||||
{0x6, &IAudioRenderer::StopAudioRenderer, "StopAudioRenderer"},
|
{6, &IAudioRenderer::StopAudioRenderer, "StopAudioRenderer"},
|
||||||
{0x7, &IAudioRenderer::QuerySystemEvent, "QuerySystemEvent"},
|
{7, &IAudioRenderer::QuerySystemEvent, "QuerySystemEvent"},
|
||||||
{0x8, nullptr, "SetAudioRendererRenderingTimeLimit"},
|
{8, nullptr, "SetAudioRendererRenderingTimeLimit"},
|
||||||
{0x9, nullptr, "GetAudioRendererRenderingTimeLimit"},
|
{9, nullptr, "GetAudioRendererRenderingTimeLimit"},
|
||||||
|
{10, nullptr, "RequestUpdateAudioRendererAuto"},
|
||||||
|
{11, nullptr, "ExecuteAudioRendererRendering"},
|
||||||
};
|
};
|
||||||
RegisterHandlers(functions);
|
RegisterHandlers(functions);
|
||||||
|
|
||||||
|
@ -237,6 +239,8 @@ AudRenU::AudRenU() : ServiceFramework("audren:u") {
|
||||||
{0, &AudRenU::OpenAudioRenderer, "OpenAudioRenderer"},
|
{0, &AudRenU::OpenAudioRenderer, "OpenAudioRenderer"},
|
||||||
{1, &AudRenU::GetAudioRendererWorkBufferSize, "GetAudioRendererWorkBufferSize"},
|
{1, &AudRenU::GetAudioRendererWorkBufferSize, "GetAudioRendererWorkBufferSize"},
|
||||||
{2, &AudRenU::GetAudioDevice, "GetAudioDevice"},
|
{2, &AudRenU::GetAudioDevice, "GetAudioDevice"},
|
||||||
|
{3, nullptr, "OpenAudioRendererAuto"},
|
||||||
|
{4, nullptr, "GetAudioDeviceServiceWithRevisionInfo"},
|
||||||
};
|
};
|
||||||
RegisterHandlers(functions);
|
RegisterHandlers(functions);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue