mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
Merge "asoc: add snd_dec_ddp struct for AC3 and EC3 playback"
This commit is contained in:
commit
6503d5b287
1 changed files with 8 additions and 0 deletions
|
|
@ -79,6 +79,8 @@ const DECLARE_TLV_DB_LINEAR(msm_compr_vol_gain, 0,
|
|||
|
||||
#define MAX_NUMBER_OF_STREAMS 2
|
||||
|
||||
#define SND_DEC_DDP_MAX_PARAMS 18
|
||||
|
||||
struct msm_compr_gapless_state {
|
||||
bool set_next_stream_id;
|
||||
int32_t stream_opened[MAX_NUMBER_OF_STREAMS];
|
||||
|
|
@ -199,6 +201,12 @@ struct msm_compr_audio_effects {
|
|||
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 snd_dec_ddp ddp_params;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue