diff options
author | Banajit Goswami <bgoswami@codeaurora.org> | 2015-04-10 18:01:40 -0700 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:10:30 -0700 |
commit | 64d6133b7f59a27aea32422ca9ad43e654d64201 (patch) | |
tree | 2105b98d5107f81e8caf95d04a74744436040e0b /include/uapi/sound | |
parent | 35b7cb1228246272c4ead4e74a3415843536f2f2 (diff) |
ALSA: compress: Update compress audio params
Add timestamp field to compress structure which indicates when
audio sample has been captured or needs to be rendered.
Change-Id: Ie61170c6645c71207e7df1c7176e0750e47590f8
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Diffstat (limited to 'include/uapi/sound')
-rw-r--r-- | include/uapi/sound/compress_offload.h | 1 | ||||
-rw-r--r-- | include/uapi/sound/compress_params.h | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/uapi/sound/compress_offload.h b/include/uapi/sound/compress_offload.h index e00d8cbfc628..72ea8ec0bc75 100644 --- a/include/uapi/sound/compress_offload.h +++ b/include/uapi/sound/compress_offload.h @@ -70,6 +70,7 @@ struct snd_compr_tstamp { __u32 pcm_frames; __u32 pcm_io_frames; __u32 sampling_rate; + uint64_t timestamp; } __attribute__((packed, aligned(4))); /** diff --git a/include/uapi/sound/compress_params.h b/include/uapi/sound/compress_params.h index ae9ba693369d..4da94ba414ea 100644 --- a/include/uapi/sound/compress_params.h +++ b/include/uapi/sound/compress_params.h @@ -88,7 +88,11 @@ #define SND_AUDIOCODEC_PASS_THROUGH ((__u32) 0x00000011) #define SND_AUDIOCODEC_MP2 ((__u32) 0x00000012) #define SND_AUDIOCODEC_DTS_LBR_PASS_THROUGH ((__u32) 0x00000013) -#define SND_AUDIOCODEC_EAC3 ((__u32) 0x00000014) +#define SND_AUDIOCODEC_AC3 ((__u32) 0x00000014) +#define SND_AUDIOCODEC_AC3_PASS_THROUGH ((__u32) 0x00000015) +#define SND_AUDIOCODEC_WMA_PRO ((__u32) 0x00000016) +#define SND_AUDIOCODEC_DTS ((__u32) 0x00000017) +#define SND_AUDIOCODEC_EAC3 ((__u32) 0x00000018) #define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_EAC3 /* |