audio_AudioBasicInternalMicrophone: Add basic internal microphone test
Add the test for internal microphone. This test plays 440Hz sine tone on
Chameleon, and the audio is routed to peripheral speaker through audio
board. Cros device records the audio using internal microphone and
compares the recorded data with test data.
BUG=chromium:463813
TEST=test_that --args "chameleon_host=$CHAMELEON_IP" $DUT_IP
audio_AudioBasicInternalMicrophone --board=squawks
Change-Id: I5ea64337ff307ab80baf9cd07627319d4042ce9f
Reviewed-on: https://chromium-review.googlesource.com/262534
Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
Commit-Queue: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
2 files changed