diff options
Diffstat (limited to 'apps/plugins/wavrecord.c')
-rw-r--r-- | apps/plugins/wavrecord.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/plugins/wavrecord.c b/apps/plugins/wavrecord.c index 69d243e12b..58a103dfe2 100644 --- a/apps/plugins/wavrecord.c +++ b/apps/plugins/wavrecord.c | |||
@@ -3191,9 +3191,12 @@ static char *source_str[WAV_NUM_SRC] = { "line in", "mic", | |||
3191 | HAVE_SPDIF_REC_("spdif",) }; | 3191 | HAVE_SPDIF_REC_("spdif",) }; |
3192 | 3192 | ||
3193 | struct configdata disk_config[] = { | 3193 | struct configdata disk_config[] = { |
3194 | { TYPE_ENUM, 0, 9, &reccfg_disk.samplerate, "sample rate", samplerate_str, NULL }, | 3194 | { TYPE_ENUM, 0, 9, { .int_p = &reccfg_disk.samplerate }, "sample rate", |
3195 | { TYPE_ENUM, 0, 2, &reccfg_disk.channels, "channels", channel_str, NULL }, | 3195 | samplerate_str }, |
3196 | { TYPE_ENUM, 0, WAV_NUM_SRC, &reccfg_disk.source, "source", source_str, NULL }, | 3196 | { TYPE_ENUM, 0, 2, { .int_p = &reccfg_disk.channels }, "channels", |
3197 | channel_str }, | ||
3198 | { TYPE_ENUM, 0, WAV_NUM_SRC, { .int_p = &reccfg_disk.source }, "source", | ||
3199 | source_str }, | ||
3197 | }; | 3200 | }; |
3198 | 3201 | ||
3199 | static char recfilename[MAX_PATH]; | 3202 | static char recfilename[MAX_PATH]; |