1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-11 19:52:01 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Audio
Mary f556c80d02
Haydn: Part 1 (#2007)
* Haydn: Part 1

Based on my reverse of audio 11.0.0.

As always, core implementation under LGPLv3 for the same reasons as for Amadeus.

This place the bases of a more flexible audio system while making audout & audin accurate.

This have the following improvements:
- Complete reimplementation of audout and audin.
- Audin currently only have a dummy backend.
- Dramatically reduce CPU usage by up to 50% in common cases (SoundIO and OpenAL).
- Audio Renderer now can output to 5.1 devices when supported.
- Audio Renderer init its backend on demand instead of keeping two up all the time.
- All backends implementation are now in their own project.
- Ryujinx.Audio.Renderer was renamed Ryujinx.Audio and was refactored because of this.

As a note, games having issues with OpenAL haven't improved and will not
because of OpenAL design (stopping when buffers finish playing causing
possible audio "pops" when buffers are very small).

* Update for latest hexkyz's edits on Switchbrew

* audren: Rollback channel configuration changes

* Address gdkchan's comments

* Fix typo in OpenAL backend driver

* Address last comments

* Fix a nit

* Address gdkchan's comments
2021-02-26 01:11:56 +01:00
..
AudioIn Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
AudioOut Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
AudioRenderer Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
HardwareOpusDecoderManager Implement a new physical memory manager and replace DeviceMemory (#856) 2020-05-04 08:54:50 +10:00
Types Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
AudioInManager.cs Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
AudioInManagerServer.cs Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
AudioOutManager.cs Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
AudioOutManagerServer.cs Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
AudioRendererManager.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
AudioRendererManagerServer.cs Close audio WorkBuffer transfer memory handle (#1770) 2020-12-02 21:58:20 +01:00
IAudioController.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IAudioInManager.cs Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
IAudioInManagerForApplet.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IAudioInManagerForDebugger.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IAudioOutManager.cs Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
IAudioOutManagerForApplet.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IAudioOutManagerForDebugger.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IAudioRendererManager.cs Amadeus: Final Act (#1481) 2020-08-17 22:49:37 -03:00
IAudioRendererManagerForApplet.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IAudioRendererManagerForDebugger.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IAudioSnoopManager.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IFinalOutputRecorderManager.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IFinalOutputRecorderManagerForApplet.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IFinalOutputRecorderManagerForDebugger.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IHardwareOpusDecoderManager.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
ResultCode.cs Add various error codes to Audio (#1201) 2020-05-03 22:45:22 +02:00