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 69d243e..58a103d 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", HAVE_SPDIF_REC_("spdif",) }; struct configdata disk_config[] = { - { TYPE_ENUM, 0, 9, &reccfg_disk.samplerate, "sample rate", samplerate_str, NULL }, - { TYPE_ENUM, 0, 2, &reccfg_disk.channels, "channels", channel_str, NULL }, - { TYPE_ENUM, 0, WAV_NUM_SRC, &reccfg_disk.source, "source", source_str, NULL }, + { TYPE_ENUM, 0, 9, { .int_p = &reccfg_disk.samplerate }, "sample rate", + samplerate_str }, + { TYPE_ENUM, 0, 2, { .int_p = &reccfg_disk.channels }, "channels", + channel_str }, + { TYPE_ENUM, 0, WAV_NUM_SRC, { .int_p = &reccfg_disk.source }, "source", + source_str }, }; static char recfilename[MAX_PATH]; |