From a16854e55a2e81b9a3765656e2010bf7e3a79f24 Mon Sep 17 00:00:00 2001 From: Ac_K Date: Tue, 10 Jan 2023 18:45:55 +0100 Subject: ava: Cleanup AppHost (#4240) * ava: Cleanup AppHost This PR cleaned up the AppHost file a bit (adding the infamous extra spaces to improve readability), resorting private vars, remove useless vars, and improve the code here and there, like the AudioBackend check. Co-Authored-By: gdkchan <5624669+gdkchan@users.noreply.github.com> * Remove 'renderer" * Revert currentTime * revert if condition Co-authored-by: gdkchan <5624669+gdkchan@users.noreply.github.com> --- Ryujinx.Audio/Integration/IHardwareDeviceDriver.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Ryujinx.Audio/Integration/IHardwareDeviceDriver.cs') diff --git a/Ryujinx.Audio/Integration/IHardwareDeviceDriver.cs b/Ryujinx.Audio/Integration/IHardwareDeviceDriver.cs index 11de9f23..4ed17951 100644 --- a/Ryujinx.Audio/Integration/IHardwareDeviceDriver.cs +++ b/Ryujinx.Audio/Integration/IHardwareDeviceDriver.cs @@ -26,6 +26,8 @@ namespace Ryujinx.Audio.Integration bool SupportsSampleFormat(SampleFormat sampleFormat); bool SupportsChannelCount(uint channelCount); + static abstract bool IsSupported { get; } + IHardwareDeviceDriver GetRealDeviceDriver() { return this; -- cgit v1.2.3