Commit graph

15 commits

Author SHA1 Message Date
JPikachu
49743b0987 [svc, audio] Implement REV13 audio renderer support and stub IAudioDevice commands up to 18.0.0+
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.
2025-07-22 15:01:02 +01:00
Liam
99b848b523 audio: rewrite IAudioRendererManager 2024-02-20 22:15:37 -05:00
Kelebek1
760d085dbe Use the input process handle to get the correct application's memory 2024-01-28 18:51:43 +00:00
Kelebek1
ae492d8a74 Do not consider voice commands in time estimation, fix adpcm estimate 2023-09-18 10:38:14 +01:00
Kelebek1
4ef3915a8c Do not reset the command buffer command count each time 2023-09-07 20:53:48 +01:00
Kelebek1
de326e42bb Rework ADSP into a wrapper for apps 2023-09-04 17:12:16 +01:00
Kelebek1
007b1e9652 Fix node id index in DropVoices 2023-08-28 10:35:30 +01:00
Kelebek1
c7430e51e3 Remove memory allocations in some hot paths 2023-06-22 08:05:10 +01:00
Kelebek1
967e5b2873 Wait for the terminate event before destroying a system instance 2023-05-01 00:27:12 +01:00
Liam
6eaef51cf2 memory: rename global memory references to application memory 2023-03-23 20:28:47 -04:00
Liam
ea36f70e02 hle: rename legacy errors to Results 2023-03-06 20:58:42 -05:00
Liam
c68577384a general: rename CurrentProcess to ApplicationProcess 2023-02-13 19:03:12 -05:00
Kelebek1
2da6a39c19 Update audio_core for firmware 15.0.0 2022-10-19 06:16:15 +01:00
Liam
09777eea76 kernel: remove KWritableEvent 2022-10-12 20:29:29 -04:00
Kelebek1
be1f5f1d9f Project Andio 2022-07-22 01:11:32 +01:00