CRAS: test_client - listen_for_hotword to capture continuous stream
This change requires listen_for_hotword to pass a file path to store
captured audio for continuous hotword stream debug.
Originally listen_for_hotword function only prints log to indicate
hotword is triggered, but does not copy buffer.
BUG=b:62333564
TEST=cras_test_client --block_size 1024 --listen /tmp/ok
Change-Id: Ibae8dbea4853c2ccde3ffdab6aab8d4a0ae1ffcc
Reviewed-on: https://chromium-review.googlesource.com/594761
Commit-Ready: Hsinyu Chao <hychao@chromium.org>
Tested-by: Hsinyu Chao <hychao@chromium.org>
Reviewed-by: Chinyue Chen <chinyue@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
1 file changed