mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-02-19 23:31:07 +00:00
add a stack trace for the catch branch of AppleHardwareDeviceDriver.IsSupported
This commit is contained in:
@@ -110,8 +110,9 @@ namespace Ryujinx.Audio.Backends.Apple
|
|||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
catch
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
Logger.Error?.Print(LogClass.Audio, $"Failed to check if AudioToolbox is supported: {e.Message}\n{e.StackTrace}");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,15 +1,12 @@
|
|||||||
using Ryujinx.Audio.Backends.Common;
|
using Ryujinx.Audio.Backends.Common;
|
||||||
using Ryujinx.Audio.Common;
|
using Ryujinx.Audio.Common;
|
||||||
using Ryujinx.Common.Logging;
|
|
||||||
using Ryujinx.Memory;
|
using Ryujinx.Memory;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Concurrent;
|
using System.Collections.Concurrent;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Runtime.Versioning;
|
using System.Runtime.Versioning;
|
||||||
using Ryujinx.Audio.Backends.Apple.Native;
|
|
||||||
using static Ryujinx.Audio.Backends.Apple.Native.AudioToolbox;
|
using static Ryujinx.Audio.Backends.Apple.Native.AudioToolbox;
|
||||||
using static Ryujinx.Audio.Backends.Apple.AppleHardwareDeviceDriver;
|
|
||||||
|
|
||||||
namespace Ryujinx.Audio.Backends.Apple
|
namespace Ryujinx.Audio.Backends.Apple
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user