summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHan Lu <hanlu@codeaurora.org>2018-11-01 16:26:37 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-12-12 18:13:42 -0800
commitfe2246708470a339cb6389b2ce3827f81b2e1839 (patch)
tree8959adc7788e4c9e92efcc06803b10f8922e3578 /include
parente46bc1b058b0d491c019e22c9708e7cfd068269d (diff)
msm: ASoC: enable aptX HD decoder
Enable decoder for media format aptX HD Change-Id: I5892dcdcf233f2c8c79b4f2c08d2d9014e05ed26 Signed-off-by: Han Lu <hanlu@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/sound/q6asm-v2.h1
-rw-r--r--include/uapi/sound/compress_params.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/include/sound/q6asm-v2.h b/include/sound/q6asm-v2.h
index 8af49bb6a9fa..d2d639ec462f 100644
--- a/include/sound/q6asm-v2.h
+++ b/include/sound/q6asm-v2.h
@@ -57,6 +57,7 @@
#define FORMAT_GEN_COMPR 0x001f
#define FORMAT_TRUEHD 0x0020
#define FORMAT_IEC61937 0x0021
+#define FORMAT_APTXHD 0x0022
#define ENCDEC_SBCBITRATE 0x0001
#define ENCDEC_IMMEDIATE_DECODE 0x0002
diff --git a/include/uapi/sound/compress_params.h b/include/uapi/sound/compress_params.h
index f4028e805cc7..6f57d4f60ce0 100644
--- a/include/uapi/sound/compress_params.h
+++ b/include/uapi/sound/compress_params.h
@@ -105,7 +105,8 @@
#define SND_AUDIOCODEC_DSD ((__u32) 0x00000021)
#define SND_AUDIOCODEC_APTX ((__u32) 0x00000022)
#define SND_AUDIOCODEC_TRUEHD ((__u32) 0x00000023)
-#define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_TRUEHD
+#define SND_AUDIOCODEC_APTXHD ((__u32) 0x00000024)
+#define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_APTXHD
/*
* Profile and modes are listed with bit masks. This allows for a
* more compact representation of fields that will not evolve