Repository navigation
rtnr: passthrough audio by stream copy - #5838
Conversation
|
Thanks for the PR. 0001-RTNR-Decouple-switch-enable-control-from-params-blob.zip |
8dc5e01 to
c396c23
Compare
This commit passthrough multi channels audio from microphone using stream copy outside RTNR, instead of using the bypass function provided by RTNR. Signed-off-by: Ming Jen Tai <mingjen_tai@realtek.com>
c396c23 to
e914a37
Compare
Force-pushed a commit to align the implementation. |
lgirdwood
left a comment
There was a problem hiding this comment.
@johnylin76 LGTM, but pls check it's aligned to Gimble etc.
|
@johnylin76 @cujomalainey good for you ? |
|
|
||
| buffer_stream_writeback(sink, cl.sink_bytes); | ||
| comp_update_buffer_consume(source, cl.source_bytes); | ||
| comp_update_buffer_produce(sink, cl.sink_bytes); |
There was a problem hiding this comment.
you could do
if (!cd->process_enable) {
...
return 0;
}
in the beginning and then leave the rest as it was or with very few changes, the delta would be much smaller then
|
Rerun the CI, looks like a lot of the DUTs were down or being used elsewhere. |
|
SOFCI TEST |
This PR passthrough multi channels audio from microphone using stream copy outside RTNR, instead of using the bypass function provided by RTNR.
Signed-off-by: Ming Jen Tai mingjen_tai@realtek.com