mirror of https://github.com/thesofproject/sof.git
Topology: kwd: change to use correct buffer caps
We don't need to use host/dai caps for detector buffer and selector buffer, here correct it. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
This commit is contained in:
parent
39a373500d
commit
e4cb046a2c
|
@ -52,11 +52,11 @@ W_SELECTOR(0, PIPELINE_FORMAT, 2, 2, LIST(` ', "SELECTOR"))
|
||||||
# Capture Buffers
|
# Capture Buffers
|
||||||
W_BUFFER(1, COMP_BUFFER_SIZE(2,
|
W_BUFFER(1, COMP_BUFFER_SIZE(2,
|
||||||
COMP_SAMPLE_SIZE(PIPELINE_FORMAT), PIPELINE_CHANNELS, SCHEDULE_FRAMES),
|
COMP_SAMPLE_SIZE(PIPELINE_FORMAT), PIPELINE_CHANNELS, SCHEDULE_FRAMES),
|
||||||
PLATFORM_HOST_MEM_CAP)
|
PLATFORM_COMP_MEM_CAP)
|
||||||
# Capture Buffers
|
# Capture Buffers
|
||||||
W_BUFFER(2, COMP_BUFFER_SIZE(2,
|
W_BUFFER(2, COMP_BUFFER_SIZE(2,
|
||||||
COMP_SAMPLE_SIZE(PIPELINE_FORMAT), PIPELINE_CHANNELS, SCHEDULE_FRAMES),
|
COMP_SAMPLE_SIZE(PIPELINE_FORMAT), PIPELINE_CHANNELS, SCHEDULE_FRAMES),
|
||||||
PLATFORM_HOST_MEM_CAP)
|
PLATFORM_COMP_MEM_CAP)
|
||||||
# Virtual output widget
|
# Virtual output widget
|
||||||
VIRTUAL_WIDGET(DETECT SINK PIPELINE_ID, out_drv, PIPELINE_ID)
|
VIRTUAL_WIDGET(DETECT SINK PIPELINE_ID, out_drv, PIPELINE_ID)
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ W_KPBM(0, PIPELINE_FORMAT, 2, 2, PIPELINE_ID)
|
||||||
# Capture Buffers
|
# Capture Buffers
|
||||||
W_BUFFER(0, COMP_BUFFER_SIZE(2,
|
W_BUFFER(0, COMP_BUFFER_SIZE(2,
|
||||||
COMP_SAMPLE_SIZE(PIPELINE_FORMAT), PIPELINE_CHANNELS, SCHEDULE_FRAMES),
|
COMP_SAMPLE_SIZE(PIPELINE_FORMAT), PIPELINE_CHANNELS, SCHEDULE_FRAMES),
|
||||||
PLATFORM_HOST_MEM_CAP)
|
PLATFORM_DAI_MEM_CAP)
|
||||||
# Capture Buffers
|
# Capture Buffers
|
||||||
W_BUFFER(1, COMP_BUFFER_SIZE(2,
|
W_BUFFER(1, COMP_BUFFER_SIZE(2,
|
||||||
COMP_SAMPLE_SIZE(PIPELINE_FORMAT), PIPELINE_CHANNELS, SCHEDULE_FRAMES),
|
COMP_SAMPLE_SIZE(PIPELINE_FORMAT), PIPELINE_CHANNELS, SCHEDULE_FRAMES),
|
||||||
|
|
Loading…
Reference in New Issue