diff mbox series

tinycompress: Update headers to include AUDIOCODEC_BESPOKE

Message ID 20181108171232.11722-1-ckeepax@opensource.cirrus.com (mailing list archive)
State New, archived
Headers show
Series tinycompress: Update headers to include AUDIOCODEC_BESPOKE | expand

Commit Message

Charles Keepax Nov. 8, 2018, 5:12 p.m. UTC
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>
---
 include/sound/compress_params.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Vinod Koul Nov. 13, 2018, 2:53 p.m. UTC | #1
On 08-11-18, 17:12, Charles Keepax wrote:
> commit dbb6b94339e8 ("ALSA: compress: Add SND_AUDIOCODEC_BESPOKE") added
> an additional CODEC type for bespoke CODECs. Update the local headers to
> include this.

Applied, thanks
diff mbox series

Patch

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)