mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-24 15:37:10 +02:00
Fix GetAudioRenderersProcessMasterVolume which was totally wrong
This commit is contained in:
parent
e32f27158f
commit
d88b5c7621
3 changed files with 80 additions and 6 deletions
|
@ -1,3 +1,4 @@
|
|||
using Ryujinx.Core.OsHle.Handles;
|
||||
using Ryujinx.Core.OsHle.Ipc;
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
@ -15,9 +16,9 @@ namespace Ryujinx.Core.OsHle.IpcServices.Aud
|
|||
{
|
||||
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
||||
{
|
||||
{ 0, OpenAudioRenderer },
|
||||
{ 1, GetAudioRendererWorkBufferSize },
|
||||
{ 2, GetAudioRenderersProcessMasterVolume }
|
||||
{ 0, OpenAudioRenderer },
|
||||
{ 1, GetAudioRendererWorkBufferSize },
|
||||
{ 2, GetAudioDevice }
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -49,9 +50,11 @@ namespace Ryujinx.Core.OsHle.IpcServices.Aud
|
|||
return 0;
|
||||
}
|
||||
|
||||
public long GetAudioRenderersProcessMasterVolume(ServiceCtx Context)
|
||||
public long GetAudioDevice(ServiceCtx Context)
|
||||
{
|
||||
Context.ResponseData.Write(0);
|
||||
long UserId = Context.RequestData.ReadInt64();
|
||||
|
||||
MakeObject(Context, new IAudioDevice());
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue