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

Commit da7778bd 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 93bc65b1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -418,6 +418,9 @@ struct snd_dec_pcm {
	__u8 ch_map[MAX_PCM_DECODE_CHANNELS];
} __attribute__((packed, aligned(4)));

struct snd_dec_amrwb_plus {
	__u32 bit_stream_fmt;
};
union snd_codec_options {
	struct snd_enc_wma wma;
	struct snd_enc_vorbis vorbis;
@@ -431,6 +434,7 @@ union snd_codec_options {
	struct snd_dec_ape ape;
	struct snd_dec_aptx aptx_dec;
	struct snd_dec_pcm pcm_dec;
	struct snd_dec_amrwb_plus amrwbplus;
};

/** struct snd_codec_desc - description of codec capabilities