diff options
Diffstat (limited to 'apps/plugins/wavrecord.c')
-rw-r--r-- | apps/plugins/wavrecord.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugins/wavrecord.c b/apps/plugins/wavrecord.c index 645a968342..528d790ed5 100644 --- a/apps/plugins/wavrecord.c +++ b/apps/plugins/wavrecord.c | |||
@@ -3717,9 +3717,8 @@ static int recording_menu(void) | |||
3717 | "Set channels", "Set Source", "Start recording", "Quit"); | 3717 | "Set channels", "Set Source", "Start recording", "Quit"); |
3718 | 3718 | ||
3719 | while (!done) | 3719 | while (!done) |
3720 | { | 3720 | { |
3721 | rb->do_menu(&menu, &result); | 3721 | switch (rb->do_menu(&menu, &result)) |
3722 | switch (result) | ||
3723 | { | 3722 | { |
3724 | case 0: /* Set sample rate */ | 3723 | case 0: /* Set sample rate */ |
3725 | rb->set_option("Sample rate", &reccfg.samplerate, INT, freqs, 9, NULL); | 3724 | rb->set_option("Sample rate", &reccfg.samplerate, INT, freqs, 9, NULL); |