Merge "asoc: add snd_dec_ddp struct for AC3 and EC3 playback"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
6503d5b287
@@ -79,6 +79,8 @@ const DECLARE_TLV_DB_LINEAR(msm_compr_vol_gain, 0,
|
|||||||
|
|
||||||
#define MAX_NUMBER_OF_STREAMS 2
|
#define MAX_NUMBER_OF_STREAMS 2
|
||||||
|
|
||||||
|
#define SND_DEC_DDP_MAX_PARAMS 18
|
||||||
|
|
||||||
struct msm_compr_gapless_state {
|
struct msm_compr_gapless_state {
|
||||||
bool set_next_stream_id;
|
bool set_next_stream_id;
|
||||||
int32_t stream_opened[MAX_NUMBER_OF_STREAMS];
|
int32_t stream_opened[MAX_NUMBER_OF_STREAMS];
|
||||||
@@ -199,6 +201,12 @@ struct msm_compr_audio_effects {
|
|||||||
struct query_audio_effect query;
|
struct query_audio_effect query;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct snd_dec_ddp {
|
||||||
|
__u32 params_length;
|
||||||
|
__u32 params_id[SND_DEC_DDP_MAX_PARAMS];
|
||||||
|
__u32 params_value[SND_DEC_DDP_MAX_PARAMS];
|
||||||
|
} __attribute__((packed, aligned(4)));
|
||||||
|
|
||||||
struct msm_compr_dec_params {
|
struct msm_compr_dec_params {
|
||||||
struct snd_dec_ddp ddp_params;
|
struct snd_dec_ddp ddp_params;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user