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

Commit c77ff8f2 authored by Banajit Goswami's avatar Banajit Goswami Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: msm: qdsp6v2: Add FLAC in compress offload path



Add FLAC format in compress offload driver, and asm
module

Change-Id: I818ace8397e761b1acff7f9b2eab6e0103ed78c8
Signed-off-by: default avatarApurupa Pattapu <apurupa@codeaurora.org>
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: default avatarMeng Wang <mwang@codeaurora.org>
parent 2beb2fad
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -349,6 +349,14 @@ struct snd_dec_ddp {
	__u32 params_value[18];
} __attribute__((packed, aligned(4)));

struct snd_dec_flac {
	__u16 sample_size;
	__u16 min_blk_size;
	__u16 max_blk_size;
	__u16 min_frame_size;
	__u16 max_frame_size;
} __attribute__((packed, aligned(4)));

union snd_codec_options {
	struct snd_enc_wma wma;
	struct snd_enc_vorbis vorbis;
@@ -356,6 +364,7 @@ union snd_codec_options {
	struct snd_enc_flac flac;
	struct snd_enc_generic generic;
	struct snd_dec_ddp ddp;
	struct snd_dec_flac flac_dec;
} __attribute__((packed, aligned(4)));

/** struct snd_codec_desc - description of codec capabilities