aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Tests/Audio
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.Tests/Audio
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.Tests/Audio')
-rw-r--r--Ryujinx.Tests/Audio/Renderer/Parameter/Effect/CompressorParameterTests.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Ryujinx.Tests/Audio/Renderer/Parameter/Effect/CompressorParameterTests.cs b/Ryujinx.Tests/Audio/Renderer/Parameter/Effect/CompressorParameterTests.cs
new file mode 100644
index 00000000..24b834fc
--- /dev/null
+++ b/Ryujinx.Tests/Audio/Renderer/Parameter/Effect/CompressorParameterTests.cs
@@ -0,0 +1,16 @@
+using NUnit.Framework;
+using Ryujinx.Audio.Renderer.Parameter.Effect;
+using System.Runtime.CompilerServices;
+
+namespace Ryujinx.Tests.Audio.Renderer.Parameter.Effect
+{
+ class CompressorParameterTests
+ {
+ [Test]
+ public void EnsureTypeSize()
+ {
+ Assert.AreEqual(0x38, Unsafe.SizeOf<CompressorParameter>());
+ }
+ }
+}
+