forked from len0rd/rockbox
Should've had dsp_replaygain_set_gains as static for now...
...because currently gains are only set through dsp_configure. Change-Id: I2866473a82fdd5f41de4705b45928daa7e43f8eb
This commit is contained in:
parent
8f9e3b10a5
commit
f5d9a45e3f
2 changed files with 6 additions and 7 deletions
|
@ -138,12 +138,7 @@ static void dsp_replaygain_update(
|
|||
pga_enable_gain(PGA_REPLAYGAIN, gain != PGA_UNITY);
|
||||
}
|
||||
|
||||
void dsp_replaygain_set_settings(const struct replaygain_settings *settings)
|
||||
{
|
||||
dsp_replaygain_update(settings, ¤t_gains);
|
||||
}
|
||||
|
||||
void dsp_replaygain_set_gains(const struct dsp_replay_gains *gains)
|
||||
static void dsp_replaygain_set_gains(const struct dsp_replay_gains *gains)
|
||||
{
|
||||
if (gains == NULL)
|
||||
{
|
||||
|
@ -155,6 +150,11 @@ void dsp_replaygain_set_gains(const struct dsp_replay_gains *gains)
|
|||
dsp_replaygain_update(¤t_settings, gains);
|
||||
}
|
||||
|
||||
void dsp_replaygain_set_settings(const struct replaygain_settings *settings)
|
||||
{
|
||||
dsp_replaygain_update(settings, ¤t_gains);
|
||||
}
|
||||
|
||||
|
||||
/** Pitch Settings **/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue