From 377a05f99e0b647b5abe6a8c3fbdc76677c36bce Mon Sep 17 00:00:00 2001 From: Sanjana B Date: Fri, 6 Dec 2019 17:08:57 +0530 Subject: [PATCH] kernel: sound: update codec options with block size Add block size for dsd in codec options. Change-Id: I2653cc85ca5a526917d12ef5b2f5d5fa776945a2 Signed-off-by: Sanjana B --- include/uapi/sound/compress_params.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/sound/compress_params.h b/include/uapi/sound/compress_params.h index b8e5ca44b314..342f160ff805 100644 --- a/include/uapi/sound/compress_params.h +++ b/include/uapi/sound/compress_params.h @@ -401,6 +401,13 @@ struct snd_dec_vorbis { __u32 bit_stream_fmt; }; +/** struct snd_dec_dsd - codec for DSD format + * @blk_size - dsd channel block size + */ +struct snd_dec_dsd { + __u32 blk_size; +}; + struct snd_dec_amrwb_plus { __u32 bit_stream_fmt; }; @@ -419,6 +426,7 @@ union snd_codec_options { struct snd_dec_aptx aptx_dec; struct snd_dec_vorbis vorbis_dec; struct snd_dec_amrwb_plus amrwbplus; + struct snd_dec_dsd dsd_dec; } __attribute__((packed, aligned(4))); /** struct snd_codec_desc - description of codec capabilities