OPT_DISABLE_SOFTVOL,
OPT_FATAL_ERRORS,
OPT_TEST_NOWAIT,
+ // Obsoleted.
+ OPT_TEST_POSITION,
+ OPT_TEST_COEF,
};
-#define S_OPTS "D:NMF:B:A:R:T:"
+#define S_OPTS "D:NMF:B:A:R:T:m:"
static const struct option l_opts[] = {
{"device", 1, 0, 'D'},
{"nonblock", 0, 0, 'N'},
// For debugging.
{"fatal-errors", 0, 0, OPT_FATAL_ERRORS},
{"test-nowait", 0, 0, OPT_TEST_NOWAIT},
+ // Obsoleted.
+ {"chmap", 1, 0, 'm'},
+ {"test-position", 0, 0, OPT_TEST_POSITION},
+ {"test-coef", 1, 0, OPT_TEST_COEF},
};
static int xfer_libasound_init(struct xfer_context *xfer,
state->no_auto_format = true;
else if (key == OPT_DISABLE_SOFTVOL)
state->no_softvol = true;
+ else if (key == 'm' ||
+ key == OPT_TEST_POSITION ||
+ key == OPT_TEST_COEF)
+ err = -EINVAL;
else if (key == OPT_FATAL_ERRORS)
state->finish_at_xrun = true;
else if (key == OPT_TEST_NOWAIT)
OPT_BUFFER_SIZE,
// Obsoleted.
OPT_MAX_FILE_TIME,
+ OPT_USE_STRFTIME,
+ OPT_PROCESS_ID_FILE,
};
static int allocate_paths(struct xfer_context *xfer, char *const *paths,
const struct xfer_data *data, int argc,
char *const *argv)
{
- static const char *short_opts = "CPhvqd:s:f:c:r:t:I";
+ static const char *short_opts = "CPhvqd:s:f:c:r:t:IV:i";
static const struct option long_opts[] = {
// For generic purposes.
{"capture", 0, 0, 'C'},
{"dump-hw-params", 0, 0, OPT_DUMP_HW_PARAMS},
// Obsoleted.
{"max-file-time", 1, 0, OPT_MAX_FILE_TIME},
+ {"use-strftime", 0, 0, OPT_USE_STRFTIME},
+ {"process-id-file", 1, 0, OPT_PROCESS_ID_FILE},
+ {"vumeter", 1, 0, 'V'},
+ {"interactive", 0, 0, 'i'},
};
char *s_opts;
struct option *l_opts;
xfer->dump_hw_params = true;
else if (key == '?')
return -EINVAL;
- else if (key == OPT_MAX_FILE_TIME) {
+ else if (key == OPT_MAX_FILE_TIME ||
+ key == OPT_USE_STRFTIME ||
+ key == OPT_PROCESS_ID_FILE ||
+ key == 'V' ||
+ key == 'i') {
fprintf(stderr,
"An option '--%s' is obsoleted and has no "
"effect.\n",