kernel: sound: update codec options with block size

Add block size for dsd in codec options.

Change-Id: I2653cc85ca5a526917d12ef5b2f5d5fa776945a2
Signed-off-by: Sanjana B <sanjb@codeaurora.org>
This commit is contained in:
Sanjana B 2019-12-06 17:08:57 +05:30
commit 377a05f99e

View file

@ -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