forked from len0rd/rockbox
Revert the recording key functionality changes back to before r21034: Both play and rec start recording. Fixes the Archos recording usability issue. To Do: see which targets have usability issues left.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23414 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d0bc525df1
commit
d93d2fd40c
2 changed files with 24 additions and 22 deletions
|
|
@ -1510,14 +1510,10 @@ bool recording_screen(bool no_source)
|
|||
update_countdown = 0; /* Update immediately */
|
||||
break;
|
||||
#endif
|
||||
case ACTION_REC_PAUSE:
|
||||
case ACTION_REC_NEWFILE:
|
||||
/* start recording or start a new file */
|
||||
if(audio_stat & AUDIO_STATUS_RECORD)
|
||||
{
|
||||
rec_command(RECORDING_CMD_START_NEWFILE);
|
||||
last_seconds = 0;
|
||||
}
|
||||
else
|
||||
/* Only act if the mpeg is stopped */
|
||||
if(!(audio_stat & AUDIO_STATUS_RECORD))
|
||||
{
|
||||
/* is this manual or triggered recording? */
|
||||
if ((global_settings.rec_trigger_mode == TRIG_MODE_OFF) ||
|
||||
|
|
@ -1543,13 +1539,17 @@ bool recording_screen(bool no_source)
|
|||
peak_meter_set_trigger_listener(&trigger_listener);
|
||||
}
|
||||
}
|
||||
update_countdown = 0; /* Update immediately */
|
||||
break;
|
||||
case ACTION_REC_PAUSE:
|
||||
/* Only act if a recording is ongoing (paused or not) */
|
||||
if(audio_stat & AUDIO_STATUS_RECORD)
|
||||
else
|
||||
{
|
||||
/*if new file button pressed, start new file */
|
||||
if (button == ACTION_REC_NEWFILE)
|
||||
{
|
||||
rec_command(RECORDING_CMD_START_NEWFILE);
|
||||
last_seconds = 0;
|
||||
}
|
||||
else
|
||||
/* if pause button pressed, pause or resume */
|
||||
{
|
||||
if(audio_stat & AUDIO_STATUS_PAUSE)
|
||||
{
|
||||
rec_command(RECORDING_CMD_RESUME);
|
||||
|
|
@ -1564,6 +1564,7 @@ bool recording_screen(bool no_source)
|
|||
rec_command(RECORDING_CMD_PAUSE);
|
||||
}
|
||||
}
|
||||
}
|
||||
update_countdown = 0; /* Update immediately */
|
||||
break;
|
||||
case ACTION_STD_MENU:
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ The controls for this screen are:
|
|||
%
|
||||
\ActionRecPause
|
||||
\opt{HAVEREMOTEKEYMAP}{& \ActionRCRecPause}
|
||||
& Start Recording.\\
|
||||
& While recording: pause recording (press again to
|
||||
continue).\\
|
||||
%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue