Repository navigation
component: channel selector for keyword detection use case - #993
Conversation
plbossart
left a comment
There was a problem hiding this comment.
minor comments below. Wondering if this can be generalized to more than 1,2 and 4 channels.
jajanusz
left a comment
There was a problem hiding this comment.
Please add COMP_SELECTOR Kconfig symbol, example for src & volume components is in this PR: https://github.com/thesofproject/sof/pull/955/commits
2832f88 to
75943a2
Compare
75943a2 to
fb8cbbc
Compare
keyonjie
left a comment
There was a problem hiding this comment.
In general, can we rename the file and configure items from selector to something like chan_selector? the former one is blurry, e.g. we can have component to select channel/input source/output sink...
fb8cbbc to
fb115b5
Compare
There was a problem hiding this comment.
Only one \brief and then continue with description?
fb115b5 to
013b8a7
Compare
lgirdwood
left a comment
There was a problem hiding this comment.
The IPC should be versatile and also support future generations of this component. Also need some reserved fields too.
There was a problem hiding this comment.
The limitations for channels count should be removed here (since the selector could be updated to support more). Any request for > channels than supported should return an error at topology load time.
Selecting source and sink channels should be done using masks as I dont see how the current IPC structure would allow mapping 4 source -> 2 sink channels.
f51e2e7 to
f149dcd
Compare
|
@lbetlej Pls rebase |
The component allows to select from a topology file one of channels from an input buffer to be copied to an output buffer (provides channels count reduction functionality). In case the component is configured to output 2 or 4 channels it works in a passthrough mode. Signed-off-by: Lech Betlej <lech.betlej@linux.intel.com> Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
f149dcd to
4f19feb
Compare
Adds unit tests for channel selector component. Signed-off-by: Lech Betlej <lech.betlej@linux.intel.com>
4f19feb to
af99abe
Compare
|
KW scan looks good, propagation of the result failed somehow. |
The component allows to select from a topology file one of channels
from an input buffer to be copied to an output buffer (provides channels
count reduction functionality). In case the component is configured to
output 2 or 4 channels it works in a bypass mode.
Signed-off-by: Lech Betlej lech.betlej@linux.intel.com