summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2018-11-08 17:12:32 +0000
committerVinod Koul <vkoul@kernel.org>2018-11-13 20:24:34 +0530
commit043577b82356abf001c24b54a885650d06609afd (patch)
tree73765a742d09e5f8c9469fe5c13cd9a9e786abeb
parent022de33ee5562f810bd8fa16747c6fc282aa9bf9 (diff)
tinycompress: Update headers to include AUDIOCODEC_BESPOKE
commit dbb6b94339e8 ("ALSA: compress: Add SND_AUDIOCODEC_BESPOKE") added an additional CODEC type for bespoke CODECs. Update the local headers to include this. Reported-by: Andrew Ford <andrew.ford@cirrus.com> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--include/sound/compress_params.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sound/compress_params.h b/include/sound/compress_params.h
index 9802292..7286556 100644
--- a/include/sound/compress_params.h
+++ b/include/sound/compress_params.h
@@ -38,8 +38,9 @@
#define SND_AUDIOCODEC_IEC61937 ((__u32) 0x0000000B)
#define SND_AUDIOCODEC_G723_1 ((__u32) 0x0000000C)
#define SND_AUDIOCODEC_G729 ((__u32) 0x0000000D)
+#define SND_AUDIOCODEC_BESPOKE ((__u32) 0x0000000E)
-#define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_G729
+#define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_BESPOKE
#define SND_AUDIOPROFILE_PCM ((__u32) 0x00000001)
#define SND_AUDIOCHANMODE_MP3_MONO ((__u32) 0x00000001)