mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 13:45:03 -05:00
Wavrecord: Let the menu start at the most convenient item.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13501 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5f6832d082
commit
0416452981
1 changed files with 2 additions and 2 deletions
|
|
@ -3684,7 +3684,7 @@ static int record_file(char *filename)
|
|||
|
||||
static int recording_menu(void)
|
||||
{
|
||||
int result;
|
||||
int menupos = 3;
|
||||
int rc = 0;
|
||||
bool done = false;
|
||||
|
||||
|
|
@ -3716,7 +3716,7 @@ static int recording_menu(void)
|
|||
|
||||
while (!done)
|
||||
{
|
||||
switch (rb->do_menu(&menu, &result))
|
||||
switch (rb->do_menu(&menu, &menupos))
|
||||
{
|
||||
case 0: /* Set sample rate */
|
||||
rb->set_option("Sample rate", &reccfg.samplerate, INT, freqs, 9, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue