Fix GetAudioRenderersProcessMasterVolume which was totally wrong
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user