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

Commit 65792d40 authored by Asish Bhattacharya's avatar Asish Bhattacharya Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: msm: qdsp6v2: add support for AMR_WB_PLUS offload



Add AMR_WB_PLUS to supported offload formats and send media
format block through compress driver.

Change-Id: I258dc05fd5b6442ef40a5d1d4538870c4ddcbe2e
Signed-off-by: default avatarAsish Bhattacharya <asishb@codeaurora.org>
parent 694d9771
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -404,6 +404,10 @@ struct snd_dec_aptx {
	__u32 nap;
};

struct snd_dec_amrwb_plus {
	__u32 bit_stream_fmt;
};

union snd_codec_options {
	struct snd_enc_wma wma;
	struct snd_enc_vorbis vorbis;
@@ -416,6 +420,7 @@ union snd_codec_options {
	struct snd_dec_alac alac;
	struct snd_dec_ape ape;
	struct snd_dec_aptx aptx_dec;
	struct snd_dec_amrwb_plus amrwbplus;
} __attribute__((packed, aligned(4)));

/** struct snd_codec_desc - description of codec capabilities