summaryrefslogtreecommitdiff
path: root/apps/plugins/wavrecord.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/wavrecord.c')
-rw-r--r--apps/plugins/wavrecord.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugins/wavrecord.c b/apps/plugins/wavrecord.c
index 645a968..528d790 100644
--- a/apps/plugins/wavrecord.c
+++ b/apps/plugins/wavrecord.c
@@ -3717,9 +3717,8 @@ static int recording_menu(void)
"Set channels", "Set Source", "Start recording", "Quit");
while (!done)
- {
- rb->do_menu(&menu, &result);
- switch (result)
+ {
+ switch (rb->do_menu(&menu, &result))
{
case 0: /* Set sample rate */
rb->set_option("Sample rate", &reccfg.samplerate, INT, freqs, 9, NULL);