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

Commit 0e52dadd authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 9d47b1e2 02c08155
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -344,12 +344,23 @@ struct snd_enc_generic {
	__s32 reserved[15];	/* Can be used for SND_AUDIOCODEC_BESPOKE */
} __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)));

#define SND_DEC_FLAC_SUPPORTED

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_flac flac_dec;
} __attribute__((packed, aligned(4)));

/** struct snd_codec_desc - description of codec capabilities