From 4b065d49b1bb4c757cbcc85e54a2df498a420677 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Wed, 21 Sep 2011 17:20:24 -0500 Subject: [PATCH] added G723 and G729 Change-Id: Id9b8570c92abc4d7f77d5f09464df91bf76c3ddd Signed-off-by: Pierre-Louis Bossart Signed-off-by: Vinod Koul Signed-off-by: Asish Bhattacharya --- include/sound/snd_compress_params.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/sound/snd_compress_params.h b/include/sound/snd_compress_params.h index 0aea277a45b..5080e13d1b5 100644 --- a/include/sound/snd_compress_params.h +++ b/include/sound/snd_compress_params.h @@ -67,6 +67,8 @@ #define SND_AUDIOCODEC_VORBIS ((__u32) 0x00000009) #define SND_AUDIOCODEC_FLAC ((__u32) 0x0000000A) #define SND_AUDIOCODEC_IEC61937 ((__u32) 0x0000000B) +#define SND_AUDIOCODEC_G723_1 ((__u32) 0x0000000C) +#define SND_AUDIOCODEC_G729 ((__u32) 0x0000000D) /* * Profile and modes are listed with bit masks. This allows for a @@ -210,6 +212,17 @@ #define SND_AUDIOMODE_IEC_HE_AAC2 ((__u32) 0x00010000) #define SND_AUDIOMODE_IEC_MPEG_SURROUND ((__u32) 0x00020000) +#define SND_AUDIOPROFILE_G723_1 ((__u32) 0x00000001) + +#define SND_AUDIOMODE_G723_1_ANNEX_A ((__u32) 0x00000001) +#define SND_AUDIOMODE_G723_1_ANNEX_B ((__u32) 0x00000002) +#define SND_AUDIOMODE_G723_1_ANNEX_C ((__u32) 0x00000004) + +#define SND_AUDIOPROFILE_G729 ((__u32) 0x00000001) + +#define SND_AUDIOMODE_G729_ANNEX_A ((__u32) 0x00000001) +#define SND_AUDIOMODE_G729_ANNEX_B ((__u32) 0x00000002) + /* */