diff options
author | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-08-07 02:45:26 +0400 |
---|---|---|
committer | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-10-25 22:20:31 +0400 |
commit | 5f558198502001c7f26601352b979738e2e16b42 (patch) | |
tree | a87ab34440ca9def731538047518920e9c7b54c2 /cmdutils_common_opts.h | |
parent | 1cff9085898c3e0d305e8159860b68b1f97b7ea9 (diff) |
opts: add list device sources/sinks options
Allows to list sources/sinks of the devices that implement
that functionality.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'cmdutils_common_opts.h')
-rw-r--r-- | cmdutils_common_opts.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmdutils_common_opts.h b/cmdutils_common_opts.h index 49b5180e37..758dac194c 100644 --- a/cmdutils_common_opts.h +++ b/cmdutils_common_opts.h @@ -27,3 +27,9 @@ { "opencl_bench", OPT_EXIT, {.func_arg = opt_opencl_bench}, "run benchmark on all OpenCL devices and show results" }, { "opencl_options", HAS_ARG, {.func_arg = opt_opencl}, "set OpenCL environment options" }, #endif +#if CONFIG_AVDEVICE + { "sources" , OPT_EXIT | HAS_ARG, { .func_arg = show_sources }, + "list sources of the input device", "device" }, + { "sinks" , OPT_EXIT | HAS_ARG, { .func_arg = show_sinks }, + "list sinks of the output device", "device" }, +#endif |