mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-11 18:26:41 +00:00
Resolve elses.
This commit is contained in:
parent
a390b7515f
commit
9aec3e9e77
1 changed files with 23 additions and 24 deletions
|
@ -425,7 +425,6 @@ namespace Ryujinx.Ui
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Logger.Warning?.Print(LogClass.Audio, "OpenAL is not supported, trying to fall back to SoundIO.");
|
Logger.Warning?.Print(LogClass.Audio, "OpenAL is not supported, trying to fall back to SoundIO.");
|
||||||
}
|
|
||||||
|
|
||||||
if (SoundIoHardwareDeviceDriver.IsSupported)
|
if (SoundIoHardwareDeviceDriver.IsSupported)
|
||||||
{
|
{
|
||||||
|
@ -436,6 +435,7 @@ namespace Ryujinx.Ui
|
||||||
|
|
||||||
deviceDriver = new SoundIoHardwareDeviceDriver();
|
deviceDriver = new SoundIoHardwareDeviceDriver();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Logger.Warning?.Print(LogClass.Audio, "SoundIO is not supported, falling back to dummy audio out.");
|
Logger.Warning?.Print(LogClass.Audio, "SoundIO is not supported, falling back to dummy audio out.");
|
||||||
|
@ -464,7 +464,6 @@ namespace Ryujinx.Ui
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Logger.Warning?.Print(LogClass.Audio, "SDL2 is not supported, trying to fall back to OpenAL.");
|
Logger.Warning?.Print(LogClass.Audio, "SDL2 is not supported, trying to fall back to OpenAL.");
|
||||||
}
|
|
||||||
|
|
||||||
if (OpenALHardwareDeviceDriver.IsSupported)
|
if (OpenALHardwareDeviceDriver.IsSupported)
|
||||||
{
|
{
|
||||||
|
@ -475,6 +474,7 @@ namespace Ryujinx.Ui
|
||||||
|
|
||||||
deviceDriver = new OpenALHardwareDeviceDriver();
|
deviceDriver = new OpenALHardwareDeviceDriver();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Logger.Warning?.Print(LogClass.Audio, "OpenAL is not supported, falling back to dummy audio out.");
|
Logger.Warning?.Print(LogClass.Audio, "OpenAL is not supported, falling back to dummy audio out.");
|
||||||
|
@ -503,8 +503,6 @@ namespace Ryujinx.Ui
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Logger.Warning?.Print(LogClass.Audio, "SDL2 is not supported, trying to fall back to SoundIO.");
|
Logger.Warning?.Print(LogClass.Audio, "SDL2 is not supported, trying to fall back to SoundIO.");
|
||||||
}
|
|
||||||
|
|
||||||
if (SoundIoHardwareDeviceDriver.IsSupported)
|
if (SoundIoHardwareDeviceDriver.IsSupported)
|
||||||
{
|
{
|
||||||
Logger.Warning?.Print(LogClass.Audio, "Found SoundIO, changing configuration.");
|
Logger.Warning?.Print(LogClass.Audio, "Found SoundIO, changing configuration.");
|
||||||
|
@ -514,6 +512,7 @@ namespace Ryujinx.Ui
|
||||||
|
|
||||||
deviceDriver = new SoundIoHardwareDeviceDriver();
|
deviceDriver = new SoundIoHardwareDeviceDriver();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Logger.Warning?.Print(LogClass.Audio, "SoundIO is not supported, falling back to dummy audio out.");
|
Logger.Warning?.Print(LogClass.Audio, "SoundIO is not supported, falling back to dummy audio out.");
|
||||||
|
|
Loading…
Reference in a new issue