[svc, audio] Implement REV13 audio renderer support and stub IAudioDevice commands up to 18.0.0+ #92

Closed
JPikachu wants to merge 2 commits from REV-13 into master
Member

Fully implements support for the AudioRenderer REV13 interface.

  • Adds SplitterDestinationInParameter with reset_prev_volume support.
  • Updates SplitterContext to parse REV13 destination parameters.
  • Handles per-destination volume ramp resets.
  • Verified against Ryujinx commit:
    a2c0035013

Stubs new commands in IAudioDevice introduced in 17.0.0+ and 18.0.0+:

  • Command 15: AcquireAudioInputDeviceNotification()
  • Command 16: ReleaseAudioInputDeviceNotification()
  • Command 17: AcquireAudioOutputDeviceNotification()
  • Command 18: ReleaseAudioOutputDeviceNotification()
  • Command 19: SetAudioDeviceOutputVolumeAutoTuneEnabled()
  • Command 20: IsAudioDeviceOutputVolumeAutoTuneEnabled()
    These were referenced directly from Ryujinx too.

Should fix audio reset issues in The Legend of Zelda: Echoes of Wisdom.
Note: due to minimal documentation on the audio services some guess work has been made and it may not be 100% accuracte to the switch's services.

Fully implements support for the AudioRenderer REV13 interface. - Adds SplitterDestinationInParameter with `reset_prev_volume` support. - Updates SplitterContext to parse REV13 destination parameters. - Handles per-destination volume ramp resets. - Verified against Ryujinx commit: https://git.bixed.xyz/Bix/Ryujinx/commit/a2c003501371463fd1f98d2e5a7602ae19c21d7c Stubs new commands in IAudioDevice introduced in 17.0.0+ and 18.0.0+: - Command 15: AcquireAudioInputDeviceNotification() - Command 16: ReleaseAudioInputDeviceNotification() - Command 17: AcquireAudioOutputDeviceNotification() - Command 18: ReleaseAudioOutputDeviceNotification() - Command 19: SetAudioDeviceOutputVolumeAutoTuneEnabled() - Command 20: IsAudioDeviceOutputVolumeAutoTuneEnabled() These were referenced directly from Ryujinx too. Should fix audio reset issues in The Legend of Zelda: Echoes of Wisdom. Note: due to minimal documentation on the audio services some guess work has been made and it may not be 100% accuracte to the switch's services.
crueter force-pushed REV-13 from a536072cad to 092b483104 2025-08-03 01:57:45 +02:00 Compare
Author
Member

Didn't work, needs a re do another time 😅

Didn't work, needs a re do another time 😅
JPikachu closed this pull request 2025-09-22 13:37:41 +02:00
All checks were successful
eden-license / license-header (pull_request) Successful in 18s
Required
Details

Pull request closed

Sign in to join this conversation.
No description provided.