SHA256
Refactor RMSCompressor Name
This commit is contained in:
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;
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user