diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbcodec/dsp/compressor.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/rbcodec/dsp/compressor.c b/lib/rbcodec/dsp/compressor.c index 685851ec29..93281d276c 100644 --- a/lib/rbcodec/dsp/compressor.c +++ b/lib/rbcodec/dsp/compressor.c | |||
@@ -185,7 +185,7 @@ static bool compressor_update(struct dsp_config *dsp, | |||
185 | auto_gain ? "Auto" : "Off"); | 185 | auto_gain ? "Auto" : "Off"); |
186 | } | 186 | } |
187 | 187 | ||
188 | if (settings->ratio != cur_set.ratio) | 188 | if (settings->ratio != curr_set.ratio) |
189 | { | 189 | { |
190 | if (ratio) | 190 | if (ratio) |
191 | { logf(" Compressor Ratio: %d:1", ratio); } | 191 | { logf(" Compressor Ratio: %d:1", ratio); } |
@@ -193,16 +193,16 @@ static bool compressor_update(struct dsp_config *dsp, | |||
193 | { logf(" Compressor Ratio: Limit"); } | 193 | { logf(" Compressor Ratio: Limit"); } |
194 | } | 194 | } |
195 | 195 | ||
196 | if (settings->knee != cur_set.knee) | 196 | if (settings->knee != curr_set.knee) |
197 | { | 197 | { |
198 | logf(" Compressor Knee: %s", soft_knee?"Soft":"Hard"); | 198 | logf(" Compressor Knee: %s", soft_knee?"Soft":"Hard"); |
199 | } | 199 | } |
200 | 200 | ||
201 | if (settings->release_time != cur_set.release_time) | 201 | if (settings->release_time != curr_set.release_time) |
202 | { | 202 | { |
203 | logf(" Compressor Release: %d", release); | 203 | logf(" Compressor Release: %d", release); |
204 | } | 204 | } |
205 | if (settings->attack_time != cur_set.attack_time) | 205 | if (settings->attack_time != curr_set.attack_time) |
206 | { | 206 | { |
207 | logf(" Compressor Attack: %d", attack); | 207 | logf(" Compressor Attack: %d", attack); |
208 | } | 208 | } |
@@ -357,7 +357,7 @@ static bool compressor_update(struct dsp_config *dsp, | |||
357 | for (int i = 1; i <= 65; i++) | 357 | for (int i = 1; i <= 65; i++) |
358 | { | 358 | { |
359 | DEBUGF("%02d: %.6f ", i, (float)comp_curve[i] / UNITY); | 359 | DEBUGF("%02d: %.6f ", i, (float)comp_curve[i] / UNITY); |
360 | if (i % 4 == 0) DEBUGF("\n"); | 360 | if (i % 4 == 0) { DEBUGF("\n"); } |
361 | } | 361 | } |
362 | DEBUGF("\n"); | 362 | DEBUGF("\n"); |
363 | 363 | ||