diff options
author | gdkchan <gab.dark.100@gmail.com> | 2023-09-29 07:48:49 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-29 10:48:49 +0000 |
commit | 41b104d0fbf1e8cf280ab594f1316d815afdd1d6 (patch) | |
tree | 0cbcd43f4543b20a2b0f3064799140c32c3488c1 /src/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion2.cs | |
parent | bc44b85b0bdcaf8140a04130e4a895677a01111f (diff) |
Fix audio renderer compressor effect (#5742)1.1.1036
* Delete DecibelToLinearExtended and fix Log10 function
* Fix CopyBuffer and ClearBuffer
* Change effect states from class to struct + formatting
* Formatting
* Make UpdateLowPassFilter readonly
* More compressor fixes
Diffstat (limited to 'src/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion2.cs')
-rw-r--r-- | src/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion2.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion2.cs b/src/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion2.cs index 68209867..f6e1654d 100644 --- a/src/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion2.cs +++ b/src/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion2.cs @@ -28,7 +28,14 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command private LimiterParameter _parameter; - public LimiterCommandVersion2(uint bufferOffset, LimiterParameter parameter, Memory<LimiterState> state, Memory<EffectResultState> resultState, bool isEnabled, ulong workBuffer, int nodeId) + public LimiterCommandVersion2( + uint bufferOffset, + LimiterParameter parameter, + Memory<LimiterState> state, + Memory<EffectResultState> resultState, + bool isEnabled, + ulong workBuffer, + int nodeId) { Enabled = true; NodeId = nodeId; |