diff options
author | Dylan Reid <dgreid@chromium.org> | 2015-02-12 14:19:08 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-02-14 08:33:28 +0000 |
commit | 22fb91edcc50170481670f922e3ff69d5ebf8e05 (patch) | |
tree | 2af4fa979e1fe6e955bf28d538b868734ccac884 /cras-config | |
parent | 52d4e1ee4c8a77537a2c34ffac04e0c7d3431f44 (diff) | |
download | adhd-22fb91edcc50170481670f922e3ff69d5ebf8e05.tar.gz |
CRAS: handle AOKR wake ups
When the "Wake On Voice" device is opend, the stream is
initially blocked with flag input_streaming=0. After a
hotword is detected, snd_pcm_avail() shows audio samples
are available to read, and input_streaming is set to 1.
BUG=chrome-os-partner:33495
TEST=cras_test_client --capture_file /tmp/wave.raw --rate 16000 --num_channels 1 --pin_device 9
Wait 10 secs, then say hotword, wait another 10 sec, Ctrl+C.
Listen to the recorded file: It's only ~2secs from the beginning to
the end of the hotword phrase. Audio continues seamlessly after
the hotword until interrupted by Ctrl+C.
Change-Id: Iab3b1a508f9ae2bd6cd089fe9afbafe9aafb007e
Signed-off-by: Ben Zhang <benzh@chromium.org>
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/249595
Reviewed-by: Chinyue Chen <chinyue@chromium.org>
Diffstat (limited to 'cras-config')
0 files changed, 0 insertions, 0 deletions