Ava UI: Fix temporary volume not being set after unmute (#5833)
This commit is contained in:
parent
1df6c07f78
commit
ad8d5b9b56
3 changed files with 16 additions and 2 deletions
|
@ -436,10 +436,11 @@ namespace Ryujinx.Ava.UI.Windows
|
|||
{
|
||||
if (!volumeSplitButton.IsChecked)
|
||||
{
|
||||
ViewModel.AppHost.Device.SetVolume(ConfigurationState.Instance.System.AudioVolume);
|
||||
ViewModel.AppHost.Device.SetVolume(ViewModel.VolumeBeforeMute);
|
||||
}
|
||||
else
|
||||
{
|
||||
ViewModel.VolumeBeforeMute = ViewModel.AppHost.Device.GetVolume();
|
||||
ViewModel.AppHost.Device.SetVolume(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue