add a stack trace for the catch branch of AppleHardwareDeviceDriver.IsSupported
This commit is contained in:
parent
fef93a453a
commit
5ed94c365b
2 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue