summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJeffrey Goode <jeffg7@gmail.com>2009-09-25 15:56:09 +0000
committerJeffrey Goode <jeffg7@gmail.com>2009-09-25 15:56:09 +0000
commitbcd890d7bbac710dcdb1d29e2805989e27f55484 (patch)
tree2a17573fd33260bc7686c0db666248c3e4a5721b /apps
parent1644cd87412b3d7cf8ffdec23af84fc9cb248575 (diff)
downloadrockbox-bcd890d7bbac710dcdb1d29e2805989e27f55484.tar.gz
rockbox-bcd890d7bbac710dcdb1d29e2805989e27f55484.tar.bz2
rockbox-bcd890d7bbac710dcdb1d29e2805989e27f55484.zip
Fix yellow: braces around logf statements
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22834 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/dsp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/dsp.c b/apps/dsp.c
index a5ceecb048..849cb99945 100644
--- a/apps/dsp.c
+++ b/apps/dsp.c
@@ -1559,9 +1559,13 @@ void dsp_set_compressor(int c_threshold, int c_ratio, int c_gain,
changed = true;
c_menu.ratio = new_ratio;
if (c_menu.ratio)
+ {
logf(" Compressor Ratio: %d:1", c_menu.ratio);
+ }
else
+ {
logf(" Compressor Ratio: Limit");
+ }
}
if (c_menu.gain != c_gain)
@@ -1569,9 +1573,13 @@ void dsp_set_compressor(int c_threshold, int c_ratio, int c_gain,
changed = true;
c_menu.gain = c_gain;
if (c_menu.gain >= 0)
+ {
logf(" Compressor Makeup Gain: %d dB", c_menu.gain);
+ }
else
+ {
logf(" Compressor Makeup Gain: Auto");
+ }
}
if (c_menu.soft_knee != new_knee)