You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
topology: merge eq_fir and eq_iir IPC constructors into generic "effect" constructor. #618
These can be merged and reused for voice detection. All the differentiation is done in the private data. @plbossart fyi, this is what I'm thinking about changing this weekend. Seems we have unnecessary duplication for no benefit (which will lead to more duplication for other new "effects").
On 2/1/19 4:02 PM, Liam Girdwood wrote:
These can be merged and reused for voice detection. All the
differentiation is done in the private data.
@plbossart <https://github.com/plbossart> fyi, this is what I'm
thinking about changing this weekend. Seems we have unnecessary
duplication for no benefit (which will lead to more duplication for
other new "effects").
|/* FIR equalizer component */ struct sof_ipc_comp_eq_fir { struct
sof_ipc_comp comp; struct sof_ipc_comp_config config; uint32_t size;
/* reserved for future use */ uint32_t reserved[8]; unsigned char
data[0]; } __packed; /* IIR equalizer component */ struct
sof_ipc_comp_eq_iir { struct sof_ipc_comp comp; struct
sof_ipc_comp_config config; uint32_t size; /* reserved for future use
*/ uint32_t reserved[8]; unsigned char data[0]; } __packed; |
"effect" usually means PCM in and out. If you deal with
non-audio/compressed data you are really talking about a processing
element using non-descript binary data - or a payload. I would remove
any type here, just pass the data and let the component parse it.
Activity
plbossart commentedon Feb 1, 2019
singalsu commentedon Apr 3, 2019
The sof_ipc_comp_process has replaced in firmware the processing algorithm specific IPC structs.
The same change still need to be done on Linux driver side as well. It is in Linux PR #771 by @keyonjie .
singalsu commentedon Apr 3, 2019
This can be closed since #771 is merged now.
selftests/bpf: Fix selftest verif_scale_strobemeta failure with llvm22
selftests/bpf: Fix selftest verif_scale_strobemeta failure with llvm22