optimizing coding style
This commit is contained in:
parent
ad05840327
commit
2edb8e5582
1 changed files with 4 additions and 6 deletions
|
@ -30,16 +30,12 @@ namespace Ryujinx.HLE.OsHle.Services.Aud
|
||||||
|
|
||||||
public long RequestUpdateAudioRenderer(ServiceCtx Context)
|
public long RequestUpdateAudioRenderer(ServiceCtx Context)
|
||||||
{
|
{
|
||||||
RequestUpdateAudioRendererMethod(Context, Context.Request.ReceiveBuff[0].Position);
|
return RequestUpdateAudioRendererMethod(Context, Context.Request.ReceiveBuff[0].Position);
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public long RequestUpdateAudioRendererAuto(ServiceCtx Context)
|
public long RequestUpdateAudioRendererAuto(ServiceCtx Context)
|
||||||
{
|
{
|
||||||
RequestUpdateAudioRendererMethod(Context, Context.Request.GetBufferType0x21().Position);
|
return RequestUpdateAudioRendererMethod(Context, Context.Request.GetBufferType0x21().Position);
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RequestUpdateAudioRendererMethod(ServiceCtx Context, long Position)
|
public void RequestUpdateAudioRendererMethod(ServiceCtx Context, long Position)
|
||||||
|
@ -62,6 +58,8 @@ namespace Ryujinx.HLE.OsHle.Services.Aud
|
||||||
|
|
||||||
//TODO: We shouldn't be signaling this here.
|
//TODO: We shouldn't be signaling this here.
|
||||||
UpdateEvent.WaitEvent.Set();
|
UpdateEvent.WaitEvent.Set();
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long StartAudioRenderer(ServiceCtx Context)
|
public long StartAudioRenderer(ServiceCtx Context)
|
||||||
|
|
Loading…
Reference in a new issue