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
audio: copier: Refactor deep copy of copier config
Code for copying copier_data is ambiguous. A comment suggests that the deep
copy (data structure + variable-length array) is not needed but the copy of
variable-length array is performed afterwards. This changet rectifies this by
placing ipc4_copier_module_cfg at the end of copier_data structure as it
contains a variable-length array. This enables single memory allocation and
single, clean 1:1 copy for the complete copier_data with the variable-length
addition.
Signed-off-by: Wojciech Jablonski <wojciech.jablonski@intel.com>
0 commit comments