summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-01-28 08:41:51 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-01-28 08:41:51 -0800
commitccf4629044ad564d496b87d90978f5adf7e72e06 (patch)
tree23ebc4bfdc79a87594a18157f4c91f73a43309e2 /include/uapi
parentcf4c7e9a8b74e569eb43c47b7625fa44dc4d332e (diff)
parent9d558f7ecfa0c4cf393a60f6acbbd00f50b7455f (diff)
Merge "ASoC: msm: Aptx decoder integration changes"
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/sound/compress_params.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/uapi/sound/compress_params.h b/include/uapi/sound/compress_params.h
index ef96966b2bbe..6a297ad6d380 100644
--- a/include/uapi/sound/compress_params.h
+++ b/include/uapi/sound/compress_params.h
@@ -103,7 +103,8 @@
#define SND_AUDIOCODEC_ALAC ((__u32) 0x00000019)
#define SND_AUDIOCODEC_APE ((__u32) 0x00000020)
#define SND_AUDIOCODEC_DSD ((__u32) 0x00000021)
-#define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_DSD
+#define SND_AUDIOCODEC_APTX ((__u32) 0x00000022)
+#define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_APTX
/*
* Profile and modes are listed with bit masks. This allows for a
* more compact representation of fields that will not evolve
@@ -396,6 +397,12 @@ struct snd_dec_ape {
__u32 seek_table_present;
};
+struct snd_dec_aptx {
+ __u32 lap;
+ __u32 uap;
+ __u32 nap;
+};
+
union snd_codec_options {
struct snd_enc_wma wma;
struct snd_enc_vorbis vorbis;
@@ -407,6 +414,7 @@ union snd_codec_options {
struct snd_dec_vorbis vorbis_dec;
struct snd_dec_alac alac;
struct snd_dec_ape ape;
+ struct snd_dec_aptx aptx_dec;
};
/** struct snd_codec_desc - description of codec capabilities