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

Commit e5819032 authored by Aditya Bavanari's avatar Aditya Bavanari
Browse files

uapi: msm: Add support for amrwbplus codec



Add amrwbplus codec option in snd_codec_options
to support the decoder.

Change-Id: Ic43321258da37ce888d2c57d114bfd834120f014
Signed-off-by: default avatarAditya Bavanari <abavanar@codeaurora.org>
parent c30cd30a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -433,6 +433,10 @@ 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;
@@ -447,6 +451,7 @@ union snd_codec_options {
	struct snd_dec_aptx aptx_dec;
	struct snd_dec_thd truehd;
	struct snd_dec_pcm pcm_dec;
	struct snd_dec_amrwb_plus amrwbplus;
};

/** struct snd_codec_desc - description of codec capabilities