1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-11 05:26:38 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services
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
..
Account account: Services Refactoring (#1833) 2021-01-02 23:34:28 +01:00
Am appletAE: Implement SetLcdBacklighOffEnabled (#2037) 2021-02-21 09:21:32 +01:00
Apm services: add "apm:p" (#1854) 2021-01-02 16:11:38 +01:00
Arp account: Services Refactoring (#1833) 2021-01-02 23:34:28 +01:00
Audio Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
Bcat Rewrite size for fixed size buffers (#1808) 2020-12-12 14:06:20 +11:00
Bgtc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Bluetooth bluetooth: Fix event handle in IBluetoothDriver (#1464) 2020-08-13 01:04:59 +02:00
BluetoothManager Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Caps caps: Stub SetShimLibraryVersion (#1552) 2020-09-20 13:32:48 +10:00
Cec Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Erpt Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Es Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Eupld Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Fatal Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Friend account: Services Refactoring (#1833) 2021-01-02 23:34:28 +01:00
Fs Allow modding AddOnContent RomFS (#2024) 2021-02-20 01:25:01 +01:00
Grc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Hid Update missing sample timestamp in DebugPad (#1873) 2021-01-07 19:43:33 +01:00
Ins Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Lbl am/lbl/hid/pctl: Enabled VR Rendering (#1688) 2020-11-15 22:30:20 +01:00
Ldn Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Lm Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Loader Add various error codes to Loader (#1208) 2020-05-04 13:22:28 +02:00
Mig Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Mii Update to LibHac 0.12.0 (#1485) 2020-09-01 17:08:59 -03:00
Mm Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Ncm Add various error codes to NCM LR (#1225) 2020-05-08 16:06:32 +02:00
News Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Nfc IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
Ngct ngct: Fix services and stub calls (#1756) 2020-12-10 03:08:28 +01:00
Nifm nifm: Fix returned buffer size of GetClientId (#2036) 2021-02-19 20:18:13 +01:00
Nim nim: Implement IsLargeResourceAvailable (#1821) 2020-12-17 05:19:28 +01:00
Notification Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Npns Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ns IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
Nv Fix remap when handle is 0 (#1882) 2021-01-10 10:11:31 +11:00
Olsc olsc: Add service olsc:u and stub some calls (#1734) 2020-11-20 09:56:23 +11:00
Ovln Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Pcie Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Pctl pctl: Stub IsFreeCommunicationAvailable (#1893) 2021-01-10 21:26:59 +01:00
Pcv Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Pm Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Prepo prepo: Implement GetSystemSessionId and add perms (#2014) 2021-02-11 20:24:54 +01:00
Psc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ptm Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Ro Correct type of executable sizes (#1802) 2020-12-13 08:30:27 +01:00
Sdb IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
Settings settings: Fix returned buffer size of GetFirmwareVersion (#2029) 2021-02-17 21:10:53 +01:00
Sm IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
Sockets Create a single guest process per IPC message processor (#1769) 2020-12-02 13:14:44 +01:00
Spl Implement a new physical memory manager and replace DeviceMemory (#856) 2020-05-04 08:54:50 +10:00
Srepo Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ssl Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
SurfaceFlinger android-fence: call callback when fence is invalid (#1881) 2021-01-13 10:53:13 +01:00
Time TZ: Fix loop condition in GetTZName (#1950) 2021-01-23 13:29:14 +01:00
Usb Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Vi Add support for inline software keyboard (#1868) 2021-01-11 19:27:55 +01:00
Wlan Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
CommandAttributes.cs IPC refactor part 1: Use explicit separate threads to process requests (#1447) 2020-09-22 14:50:40 +10:00
DummyService.cs Refactoring commands handling (#728) 2019-07-11 22:13:43 -03:00
IIpcService.cs Refactoring commands handling (#728) 2019-07-11 22:13:43 -03:00
IpcService.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
ServerBase.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
ServiceAttributes.cs IPC refactor part 1: Use explicit separate threads to process requests (#1447) 2020-09-22 14:50:40 +10:00
ServiceConfiguration.cs IPC services refactoring (#726) 2019-07-10 12:59:54 -03:00