Update decoder
This commit is contained in:
parent
5bc29ea41e
commit
c76a31e13a
|
@ -71,22 +71,27 @@ struct aud_item {
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Encode, Decode, Copy, Clone, Default)]
|
#[derive(Debug, PartialEq, Encode, Decode, Copy, Clone, Default)]
|
||||||
struct struct_anc_cfg {
|
struct struct_anc_cfg {
|
||||||
//
|
//V1+
|
||||||
anc_cfg_ff_l: aud_item,
|
anc_cfg_ff_l: aud_item,
|
||||||
anc_cfg_ff_r: aud_item,
|
anc_cfg_ff_r: aud_item,
|
||||||
anc_cfg_fb_l: aud_item,
|
anc_cfg_fb_l: aud_item,
|
||||||
anc_cfg_fb_r: aud_item,
|
anc_cfg_fb_r: aud_item,
|
||||||
|
//V2
|
||||||
|
anc_cfg_tt_l: aud_item,
|
||||||
|
anc_cfg_tt_r: aud_item,
|
||||||
|
anc_cfg_mc_l: aud_item,
|
||||||
|
anc_cfg_mc_r: aud_item,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Encode, Decode, Copy, Clone, Default)]
|
#[derive(Debug, PartialEq, Encode, Decode, Copy, Clone, Default)]
|
||||||
struct pctool_struct_anc_cfg {
|
struct pctool_struct_anc_cfg {
|
||||||
//
|
//
|
||||||
anc_cfg: [struct_anc_cfg; 2],
|
anc_cfg: [struct_anc_cfg; 2], //0 == 41k, 2==44k
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Encode, Decode, Copy, Clone, Default)]
|
#[derive(Debug, PartialEq, Encode, Decode, Copy, Clone, Default)]
|
||||||
struct AudSectionBodyConfig {
|
struct AudSectionBodyConfig {
|
||||||
anc_config_arr: [pctool_struct_anc_cfg; 4],
|
anc_config_arr: [pctool_struct_anc_cfg; 1], // we may only use first of 4 entries
|
||||||
}
|
}
|
||||||
#[derive(Debug, PartialEq, Encode, Decode, Copy, Clone, Default)]
|
#[derive(Debug, PartialEq, Encode, Decode, Copy, Clone, Default)]
|
||||||
struct AudSectionBody {
|
struct AudSectionBody {
|
||||||
|
|
Loading…
Reference in New Issue