1
0
Fork 0
forked from len0rd/rockbox

Consolidate compressor settings into a struct.

Doing that makes things cleaner for later on.

Change-Id: I4e279aa57ace16a348acc0fc09059592325ec95f
This commit is contained in:
Michael Sevakis 2012-04-26 17:19:16 -04:00
parent 97a535d83c
commit 0842d7f7e1
8 changed files with 222 additions and 217 deletions

View file

@ -1565,9 +1565,9 @@ void dsp_set_replaygain(void)
/** SET COMPRESSOR
* Called by the menu system to configure the compressor process */
void dsp_set_compressor(void)
void dsp_set_compressor(const struct compressor_settings *settings)
{
/* enable/disable the compressor */
AUDIO_DSP.compressor_process = compressor_update() ?
AUDIO_DSP.compressor_process = compressor_update(settings) ?
compressor_process : NULL;
}