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

Commit 475a66d8 authored by Banajit Goswami's avatar Banajit Goswami
Browse files

ASoC: msm: Add support for AC3 and EC3 playback in tunnel mode



Dolby surround1-DS1 module supports both Dolby Audio processing - post
processing and Dolby digital plus decoder in DSP. Add support for
AC3 and EC3 playback in tunnel mode so that DS1 is integrated and
functional end to end.

Change-Id: Iacb46cdfded16c9a5a9227a6ff4e072c61df2be8
Signed-off-by: default avatarSubhash Chandra Bose Naripeddy <snariped@codeaurora.org>
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
parent 39feeacb
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -338,12 +338,19 @@ struct snd_enc_generic {
	__s32 reserved[15];	/* Can be used for SND_AUDIOCODEC_BESPOKE */
} __attribute__((packed, aligned(4)));

struct snd_dec_ddp {
	__u32 params_length;
	__u32 params_id[18];
	__u32 params_value[18];
} __attribute__((packed, aligned(4)));

union snd_codec_options {
	struct snd_enc_wma wma;
	struct snd_enc_vorbis vorbis;
	struct snd_enc_real real;
	struct snd_enc_flac flac;
	struct snd_enc_generic generic;
	struct snd_dec_ddp ddp;
} __attribute__((packed, aligned(4)));

/** struct snd_codec_desc - description of codec capabilities