Refactor RMSCompressor Name

This commit is contained in:
copecone committed 2026-07-09 23:20:44 +09:00
1 parent 4d463e6a76
commit 5d6770c85a
2 files changed
+3 -2

No files matched your search

@@ -3,7 +3,8 @@ using System.Runtime.CompilerServices;
namespace ADOFAIRenderer.Util.Audio.Filter
{
public class RmsCompressor : IAudioFilter
// ReSharper disable once InconsistentNaming
public class RMSCompressor : IAudioFilter
{
private float _thresholdDb = -20f;
private float _ratio = 4f;
+1 -1
View File
@@ -104,7 +104,7 @@ namespace ADOFAIRenderer.Util.Audio
_targetChannels = targetChannels;
_targetSampleRate = targetSampleRate;
var rmsCompressor = new RmsCompressor
var rmsCompressor = new RMSCompressor
{
ThresholdDb = -10, Ratio = 2,
AttackTime = 0.1f, ReleaseTime = 0.1f,