aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Audio/Renderer/Common
diff options
context:
space:
mode:
authorMary-nyan <mary@mary.zone>2022-12-06 15:04:25 +0100
committerGitHub <noreply@github.com>2022-12-06 15:04:25 +0100
commit40311310d1a6d2fde2ee9f04bfa1f21ced7cbee2 (patch)
treebeec52c0a73006552aae3b1d9538240ddc89e6ae /Ryujinx.Audio/Renderer/Common
parentdde9bb5c69d2e1a70df82af8accd3d01fb94b78d (diff)
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
Diffstat (limited to 'Ryujinx.Audio/Renderer/Common')
-rw-r--r--Ryujinx.Audio/Renderer/Common/EffectType.cs7
-rw-r--r--Ryujinx.Audio/Renderer/Common/PerformanceDetailType.cs3
2 files changed, 8 insertions, 2 deletions
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
/// <summary>
/// Effect to capture mixes (via auxiliary buffers).
/// </summary>
- CaptureBuffer
+ CaptureBuffer,
+
+ /// <summary>
+ /// Effect applying a compressor filter (DRC).
+ /// </summary>
+ 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