diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-02-24 19:10:59 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-02-24 19:10:59 +0000 |
commit | 71ceac0b740398050af4f21b56acd5b31e2520f0 (patch) | |
tree | da550f14a3c81f62aceae698c8b459287d201a01 /apps/dsp.c | |
parent | 65109732230849eeb9eec2f56f9e046ad6b476c3 (diff) | |
download | rockbox-71ceac0b740398050af4f21b56acd5b31e2520f0.tar.gz rockbox-71ceac0b740398050af4f21b56acd5b31e2520f0.zip |
FS#11964. Rework replaygain handling to save metadata buffer and binsize. Remove string representation of replaygain and use a dedicated ftoa implementation for WPS/screen info.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29388 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/dsp.c')
-rw-r--r-- | apps/dsp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/dsp.c b/apps/dsp.c index 3cff1918d7..c462fc37a6 100644 --- a/apps/dsp.c +++ b/apps/dsp.c | |||
@@ -1475,22 +1475,22 @@ intptr_t dsp_configure(struct dsp_config *dsp, int setting, intptr_t value) | |||
1475 | 1475 | ||
1476 | case DSP_SET_TRACK_GAIN: | 1476 | case DSP_SET_TRACK_GAIN: |
1477 | if (dsp == &AUDIO_DSP) | 1477 | if (dsp == &AUDIO_DSP) |
1478 | dsp_set_gain_var(&track_gain, value); | 1478 | dsp_set_gain_var(&track_gain, convert_gain(value)); |
1479 | break; | 1479 | break; |
1480 | 1480 | ||
1481 | case DSP_SET_ALBUM_GAIN: | 1481 | case DSP_SET_ALBUM_GAIN: |
1482 | if (dsp == &AUDIO_DSP) | 1482 | if (dsp == &AUDIO_DSP) |
1483 | dsp_set_gain_var(&album_gain, value); | 1483 | dsp_set_gain_var(&album_gain, convert_gain(value)); |
1484 | break; | 1484 | break; |
1485 | 1485 | ||
1486 | case DSP_SET_TRACK_PEAK: | 1486 | case DSP_SET_TRACK_PEAK: |
1487 | if (dsp == &AUDIO_DSP) | 1487 | if (dsp == &AUDIO_DSP) |
1488 | dsp_set_gain_var(&track_peak, value); | 1488 | dsp_set_gain_var(&track_peak, convert_gain(value)); |
1489 | break; | 1489 | break; |
1490 | 1490 | ||
1491 | case DSP_SET_ALBUM_PEAK: | 1491 | case DSP_SET_ALBUM_PEAK: |
1492 | if (dsp == &AUDIO_DSP) | 1492 | if (dsp == &AUDIO_DSP) |
1493 | dsp_set_gain_var(&album_peak, value); | 1493 | dsp_set_gain_var(&album_peak, convert_gain(value)); |
1494 | break; | 1494 | break; |
1495 | 1495 | ||
1496 | default: | 1496 | default: |