mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-24 23:47:10 +02:00
Basic audio support
Implement IAudioOut. Small corrections on AudIAudioRenderer. Add glitched audio playback support through OpenAL.
This commit is contained in:
parent
64d34f2882
commit
9f2aea4059
5 changed files with 211 additions and 7 deletions
|
@ -127,8 +127,20 @@ namespace Ryujinx.OsHle.Ipc
|
|||
//IAudioRenderer
|
||||
{ (typeof(AudIAudioRenderer), 4), AudIAudioRenderer.RequestUpdateAudioRenderer },
|
||||
{ (typeof(AudIAudioRenderer), 5), AudIAudioRenderer.StartAudioRenderer },
|
||||
{ (typeof(AudIAudioRenderer), 6), AudIAudioRenderer.StopAudioRenderer },
|
||||
{ (typeof(AudIAudioRenderer), 7), AudIAudioRenderer.QuerySystemEvent },
|
||||
|
||||
//IAudioOut
|
||||
{ (typeof(AudIAudioOut), 0), AudIAudioOut.GetAudioOutState },
|
||||
{ (typeof(AudIAudioOut), 1), AudIAudioOut.StartAudioOut },
|
||||
{ (typeof(AudIAudioOut), 2), AudIAudioOut.StopAudioOut },
|
||||
{ (typeof(AudIAudioOut), 3), AudIAudioOut.AppendAudioOutBuffer },
|
||||
{ (typeof(AudIAudioOut), 4), AudIAudioOut.RegisterBufferEvent },
|
||||
{ (typeof(AudIAudioOut), 5), AudIAudioOut.GetReleasedAudioOutBuffer },
|
||||
{ (typeof(AudIAudioOut), 6), AudIAudioOut.ContainsAudioOutBuffer },
|
||||
{ (typeof(AudIAudioOut), 7), AudIAudioOut.AppendAudioOutBuffer_ex },
|
||||
{ (typeof(AudIAudioOut), 8), AudIAudioOut.GetReleasedAudioOutBuffer_ex },
|
||||
|
||||
//IFile
|
||||
{ (typeof(FspSrvIFile), 0), FspSrvIFile.Read },
|
||||
{ (typeof(FspSrvIFile), 1), FspSrvIFile.Write },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue