mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-22 19:42:40 -05:00
Reset recording clipping indicators when changing gain. Solves FS #6147
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16557 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8a2a474ba0
commit
30ab1a3c0e
1 changed files with 4 additions and 0 deletions
|
|
@ -281,6 +281,10 @@ static void set_gain(void)
|
|||
global_settings.rec_right_gain,
|
||||
AUDIO_GAIN_LINEIN);
|
||||
}
|
||||
/* reset the clipping indicators:
|
||||
use -1 to clear them, then call again with settings value */
|
||||
peak_meter_set_clip_hold(-1);
|
||||
peak_meter_set_clip_hold(global_settings.peak_meter_clip_hold);
|
||||
}
|
||||
|
||||
#ifdef HAVE_AGC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue