-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rtnr: refine set/get component data procedure
This commit refines the following procedures to make it more stable on different platforms. 1. The initial data( not config ) defined in the topology is empty. On some platforms rtnr_get_comp_data might be called with the size equals 0 during initialization. We only do the memcpy_s when the size is valid. 2. There are 3 control widgets in RTNR topology. During initialization, the initial data could be received via IPC in the form of config+data+switch or config only. In either case we now just copy the preceding portion of the data since it has the required config. Signed-off-by: Ming Jen Tai <mingjen_tai@realtek.com>
- Loading branch information
1 parent
7029fb7
commit 4a438b9
Showing
1 changed file
with
33 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters