diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2012-04-26 17:19:16 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2012-04-26 17:19:16 -0400 |
commit | 0842d7f7e1f123926bc7741c6ecfbcd631a65bea (patch) | |
tree | 3030e3bd5e1a322a8601379f2bd61aa71a50fc99 /lib/rbcodec/dsp/dsp.c | |
parent | 97a535d83c0f057b190c7a82f95297696b25a0df (diff) | |
download | rockbox-0842d7f7e1f123926bc7741c6ecfbcd631a65bea.tar.gz rockbox-0842d7f7e1f123926bc7741c6ecfbcd631a65bea.zip |
Consolidate compressor settings into a struct.
Doing that makes things cleaner for later on.
Change-Id: I4e279aa57ace16a348acc0fc09059592325ec95f
Diffstat (limited to 'lib/rbcodec/dsp/dsp.c')
-rw-r--r-- | lib/rbcodec/dsp/dsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbcodec/dsp/dsp.c b/lib/rbcodec/dsp/dsp.c index 4da555747b..4061fa7186 100644 --- a/lib/rbcodec/dsp/dsp.c +++ b/lib/rbcodec/dsp/dsp.c | |||
@@ -1565,9 +1565,9 @@ void dsp_set_replaygain(void) | |||
1565 | 1565 | ||
1566 | /** SET COMPRESSOR | 1566 | /** SET COMPRESSOR |
1567 | * Called by the menu system to configure the compressor process */ | 1567 | * Called by the menu system to configure the compressor process */ |
1568 | void dsp_set_compressor(void) | 1568 | void dsp_set_compressor(const struct compressor_settings *settings) |
1569 | { | 1569 | { |
1570 | /* enable/disable the compressor */ | 1570 | /* enable/disable the compressor */ |
1571 | AUDIO_DSP.compressor_process = compressor_update() ? | 1571 | AUDIO_DSP.compressor_process = compressor_update(settings) ? |
1572 | compressor_process : NULL; | 1572 | compressor_process : NULL; |
1573 | } | 1573 | } |