forked from len0rd/rockbox
also enable recording cliplight when monitoring before recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8834 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6c2fafb98b
commit
64f0682f6e
1 changed files with 2 additions and 2 deletions
|
|
@ -954,9 +954,9 @@ void peak_meter_draw(int x, int y, int width, int height)
|
||||||
if ((pm_clip_left || pm_clip_right) &&
|
if ((pm_clip_left || pm_clip_right) &&
|
||||||
global_settings.cliplight &&
|
global_settings.cliplight &&
|
||||||
#if CONFIG_CODEC == SWCODEC
|
#if CONFIG_CODEC == SWCODEC
|
||||||
(pcm_rec_status() & (AUDIO_STATUS_RECORD | AUDIO_STATUS_PRERECORD)))
|
!pm_playback)
|
||||||
#else
|
#else
|
||||||
(audio_status() & (AUDIO_STATUS_RECORD | AUDIO_STATUS_PRERECORD)))
|
!(audio_status() & (AUDIO_STATUS_PLAY | AUDIO_STATUS_ERROR)))
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
/* if clipping, cliplight setting on and in recording screen */
|
/* if clipping, cliplight setting on and in recording screen */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue