]> git.alsa-project.org Git - tinycompress.git/commit
crecord: Add option to specify codec ID
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Wed, 18 Jan 2017 16:29:54 +0000 (16:29 +0000)
committerVinod Koul <vinod.koul@intel.com>
Wed, 18 Jan 2017 16:49:39 +0000 (22:19 +0530)
commit2ea0ab5f0c16f09f7ca2b45c9318c93a76928c27
tree487dffd26b70edddad79e1c50c37f48a90186950
parentb9f46e39b4d5fb3e98e339a406af15229cd12870
crecord: Add option to specify codec ID

This patch adds a -I command line option to set the codec ID,
either from a defined set of string values or as a number.

After discussion with Vinod it was agreed that we should only
allow writing to a file if we support creating the correct container
file format for that data. As we currently only have support for
creating WAV files only PCM data can be written to a file. Other
formats can be sent raw to stdout.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
src/utils/crecord.c