From 83728d257501fd95ff3ffcbff1e4c976f48b36e6 Mon Sep 17 00:00:00 2001 From: Preetam Singh Ranawat Date: Thu, 18 Aug 2016 11:44:23 +0530 Subject: [PATCH] ALSA: compress: Add DSD format support for ALSA WCD934X audio codec supports playback of DSD (Direct Stream Digital) format. Extend ALSA (Advanced Linux Sound Architecture) compress to support DSD format. CRs-Fixed: 1056422 Change-Id: Ifb06674c251335a1d8cec71931355dca4c0e012d Signed-off-by: Preetam Singh Ranawat --- include/uapi/sound/compress_params.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/sound/compress_params.h b/include/uapi/sound/compress_params.h index 4d9c4b5c29f3..47367c663011 100644 --- a/include/uapi/sound/compress_params.h +++ b/include/uapi/sound/compress_params.h @@ -97,7 +97,8 @@ #define SND_AUDIOCODEC_EAC3 ((__u32) 0x00000018) #define SND_AUDIOCODEC_ALAC ((__u32) 0x00000019) #define SND_AUDIOCODEC_APE ((__u32) 0x00000020) -#define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_APE +#define SND_AUDIOCODEC_DSD ((__u32) 0x00000021) +#define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_DSD /* * Profile and modes are listed with bit masks. This allows for a * more compact representation of fields that will not evolve