1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-24 14:26:02 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Audio
sharmander cb43cc7e32
UI - Add Volume Controls + Mute Toggle (F2) (#2871)
* Add the ability to toggle mute in the status bar.

* Add the ability to toggle mute in the status bar.

* Formatting fixes

* Add hotkey (F2) to mute

* Add default hotkey to config.json

* Add ability to change volume via slider.

* Fix Headless

* Fix SDL2 Problem : Credits to d3xMachina

* Remove unnecessary work

* Address gdk comments

* Toggling with Hotkey now properly restores volume to original level.

* Toggling with Hotkey now properly restores volume to original level.

* Update UI to show Volume % instead of Muted/Unmuted

* Clean up the volume ui a bit.

* Undo unintentionally committed code.

* Implement AudRen Support

* Restore intiial volume level in function definition.

* Finalize UI

* Finalize UI

* Use clamp for bounds check

* Use Math.Clamp for volume in soundio

* Address comments by gdkchan

* Address remaining comments

* Fix missing semicolon

* Address remaining gdkchan comment

* Fix comment

* Change /* to //

* Allow volume slider to change volume immediately.
Also force label text to cast to int to prevent decimals from showing in status bar

* Remove blank line

* Undo setting of volume level when "Cancel" is pressed.

* Fix allignment for settings window code
2021-12-23 13:33:56 -03:00
..
AudioIn Fix disposing of IPC sessions server at emulation stop (#2334) 2021-06-29 19:37:13 +02:00
AudioOut Fix disposing of IPC sessions server at emulation stop (#2334) 2021-06-29 19:37:13 +02:00
AudioRenderer amadeus: Fix regression from #2654 on ListAudioDeviceName 2021-09-19 13:42:16 +02:00
HardwareOpusDecoderManager HLE: Fix integer sign inconcistency accross the codebase (#2222) 2021-04-24 12:16:01 +02:00
Types Implement 12.0.0 hwopus functions (#2410) 2021-07-06 19:49:51 +02:00
AudioInManager.cs Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
AudioInManagerServer.cs HLE: Fix integer sign inconcistency accross the codebase (#2222) 2021-04-24 12:16:01 +02:00
AudioOutManager.cs UI - Add Volume Controls + Mute Toggle (F2) (#2871) 2021-12-23 13:33:56 -03:00
AudioOutManagerServer.cs UI - Add Volume Controls + Mute Toggle (F2) (#2871) 2021-12-23 13:33:56 -03:00
AudioRendererManager.cs UI - Add Volume Controls + Mute Toggle (F2) (#2871) 2021-12-23 13:33:56 -03:00
AudioRendererManagerServer.cs Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02: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 UI - Add Volume Controls + Mute Toggle (F2) (#2871) 2021-12-23 13:33:56 -03: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 Implement 12.0.0 hwopus functions (#2410) 2021-07-06 19:49:51 +02:00
ResultCode.cs Add various error codes to Audio (#1201) 2020-05-03 22:45:22 +02:00