]> git.alsa-project.org Git - tinycompress.git/commitdiff
tinycompress: Update headers to include AUDIOCODEC_BESPOKE
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 8 Nov 2018 17:12:32 +0000 (17:12 +0000)
committerVinod Koul <vkoul@kernel.org>
Tue, 13 Nov 2018 14:54:34 +0000 (20:24 +0530)
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>
include/sound/compress_params.h

index 9802292adef1252259da8942127b335dbd3faaa2..72865562fed6f41b786ce6fda6355f6310a03cb2 100644 (file)
@@ -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)