Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa70ef70 authored by Sanjana B's avatar Sanjana B Committed by Gerrit - the friendly Code Review server
Browse files

kernel: sound: update codec options with block size



Add block size for dsd in codec options.

Change-Id: I2653cc85ca5a526917d12ef5b2f5d5fa776945a2
Signed-off-by: default avatarSanjana B <sanjb@codeaurora.org>
parent 52c9eb46
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -419,6 +419,13 @@ struct snd_dec_aptx {
	__u32 nap;
};

/** struct snd_dec_dsd - codec for DSD format
 * @blk_size - dsd channel block size
 */
struct snd_dec_dsd {
	__u32 blk_size;
};

/** struct snd_dec_pcm - codec options for PCM format
 * @num_channels: Number of channels
 * @ch_map: Channel map for the above corresponding channels
@@ -445,6 +452,7 @@ union snd_codec_options {
	struct snd_dec_thd truehd;
	struct snd_dec_pcm pcm_dec;
	struct snd_dec_amrwb_plus amrwbplus;
	struct snd_dec_dsd dsd_dec;
};

/** struct snd_codec_desc - description of codec capabilities