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:
Jens Arnold 2007-05-28 08:32:55 +00:00
parent 5f6832d082
commit 0416452981

View file

@ -3684,7 +3684,7 @@ static int record_file(char *filename)
static int recording_menu(void) static int recording_menu(void)
{ {
int result; int menupos = 3;
int rc = 0; int rc = 0;
bool done = false; bool done = false;
@ -3716,7 +3716,7 @@ static int recording_menu(void)
while (!done) while (!done)
{ {
switch (rb->do_menu(&menu, &result)) switch (rb->do_menu(&menu, &menupos))
{ {
case 0: /* Set sample rate */ case 0: /* Set sample rate */
rb->set_option("Sample rate", &reccfg.samplerate, INT, freqs, 9, NULL); rb->set_option("Sample rate", &reccfg.samplerate, INT, freqs, 9, NULL);