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);
|
pga_enable_gain(PGA_REPLAYGAIN, gain != PGA_UNITY);
|
||||||
}
|
}
|
||||||
|
|
||||||
void dsp_replaygain_set_settings(const struct replaygain_settings *settings)
|
static void dsp_replaygain_set_gains(const struct dsp_replay_gains *gains)
|
||||||
{
|
|
||||||
dsp_replaygain_update(settings, ¤t_gains);
|
|
||||||
}
|
|
||||||
|
|
||||||
void dsp_replaygain_set_gains(const struct dsp_replay_gains *gains)
|
|
||||||
{
|
{
|
||||||
if (gains == NULL)
|
if (gains == NULL)
|
||||||
{
|
{
|
||||||
|
@ -155,6 +150,11 @@ void dsp_replaygain_set_gains(const struct dsp_replay_gains *gains)
|
||||||
dsp_replaygain_update(¤t_settings, 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 **/
|
/** Pitch Settings **/
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,6 @@ struct dsp_replay_gains
|
||||||
};
|
};
|
||||||
|
|
||||||
void dsp_replaygain_set_settings(const struct replaygain_settings *settings);
|
void dsp_replaygain_set_settings(const struct replaygain_settings *settings);
|
||||||
void dsp_replaygain_set_gains(const struct dsp_replay_gains *gains);
|
|
||||||
|
|
||||||
#ifdef HAVE_PITCHSCREEN
|
#ifdef HAVE_PITCHSCREEN
|
||||||
void sound_set_pitch(int32_t ratio);
|
void sound_set_pitch(int32_t ratio);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue