mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-02 17:57:15 +02:00
Ipc refactor (#9)
* Start refactoring IPC objects (started with IFile and IFileSystem) * End refactoring IPC objects (#8) * End refactoring IPC objects * End refactoring IPC objects corrections
This commit is contained in:
parent
7f4a190665
commit
322f28668d
62 changed files with 935 additions and 619 deletions
|
@ -1,5 +1,5 @@
|
|||
using ChocolArm64.Memory;
|
||||
using Ryujinx.OsHle.Objects;
|
||||
using Ryujinx.OsHle.Objects.Aud;
|
||||
using System.Text;
|
||||
|
||||
using static Ryujinx.OsHle.Objects.ObjHelper;
|
||||
|
@ -21,7 +21,7 @@ namespace Ryujinx.OsHle.Services
|
|||
|
||||
public static long AudOutOpenAudioOut(ServiceCtx Context)
|
||||
{
|
||||
MakeObject(Context, new AudIAudioOut());
|
||||
MakeObject(Context, new IAudioOut());
|
||||
|
||||
Context.ResponseData.Write(48000); //Sample Rate
|
||||
Context.ResponseData.Write(2); //Channel Count
|
||||
|
@ -42,7 +42,7 @@ namespace Ryujinx.OsHle.Services
|
|||
|
||||
public static long AudRenOpenAudioRenderer(ServiceCtx Context)
|
||||
{
|
||||
MakeObject(Context, new AudIAudioRenderer());
|
||||
MakeObject(Context, new IAudioRenderer());
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue