From 40311310d1a6d2fde2ee9f04bfa1f21ced7cbee2 Mon Sep 17 00:00:00 2001 From: Mary-nyan Date: Tue, 6 Dec 2022 15:04:25 +0100 Subject: amadeus: Add missing compressor effect from REV11 (#4010) * amadeus: Add missing compressor effect from REV11 This was in my reversing notes but seems I completely forgot to implement it Also took the opportunity to simplify the Limiter effect a bit. * Remove some outdated comment * Address gdkchan's comments --- Ryujinx.Audio/Renderer/Common/EffectType.cs | 7 ++++++- Ryujinx.Audio/Renderer/Common/PerformanceDetailType.cs | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'Ryujinx.Audio/Renderer/Common') diff --git a/Ryujinx.Audio/Renderer/Common/EffectType.cs b/Ryujinx.Audio/Renderer/Common/EffectType.cs index 2c50b9eb..7128db4c 100644 --- a/Ryujinx.Audio/Renderer/Common/EffectType.cs +++ b/Ryujinx.Audio/Renderer/Common/EffectType.cs @@ -48,6 +48,11 @@ namespace Ryujinx.Audio.Renderer.Common /// /// Effect to capture mixes (via auxiliary buffers). /// - CaptureBuffer + CaptureBuffer, + + /// + /// Effect applying a compressor filter (DRC). + /// + Compressor, } } \ No newline at end of file diff --git a/Ryujinx.Audio/Renderer/Common/PerformanceDetailType.cs b/Ryujinx.Audio/Renderer/Common/PerformanceDetailType.cs index 8467ed8d..805d5518 100644 --- a/Ryujinx.Audio/Renderer/Common/PerformanceDetailType.cs +++ b/Ryujinx.Audio/Renderer/Common/PerformanceDetailType.cs @@ -14,6 +14,7 @@ namespace Ryujinx.Audio.Renderer.Common Reverb3d, PcmFloat, Limiter, - CaptureBuffer + CaptureBuffer, + Compressor } } \ No newline at end of file -- cgit v1.2.3