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:
parent
97a535d83c
commit
0842d7f7e1
8 changed files with 222 additions and 217 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue