audiotest: Add alsa_helpers.

alsa_helpers has helper functions that are used by autotests.
It prints the returned values in stdout. The first
functionality is to return the supported channels of a capture
device.

BUG=b:64941000
TEST=Run audio_Microphone on reef and eve.

Change-Id: I75de7c6777c5de890851bd12e79ac73acfa26198
Reviewed-on: https://chromium-review.googlesource.com/739701
Commit-Ready: Wu-Cheng Li <wuchengli@chromium.org>
Tested-by: Wu-Cheng Li <wuchengli@chromium.org>
Reviewed-by: Wu-Cheng Li <wuchengli@chromium.org>
(cherry picked from commit 9e5ae90170911107dac7ccc22bcca95f3a32c962)
Reviewed-on: https://chromium-review.googlesource.com/750523
Commit-Queue: Wu-Cheng Li <wuchengli@chromium.org>
Trybot-Ready: Wu-Cheng Li <wuchengli@chromium.org>
3 files changed
tree: 253090242e9a9aa6ed54b894c4390b9a77acfe04
  1. include/
  2. src/
  3. Android.mk
  4. common.mk
  5. CPPLINT.cfg
  6. LICENSE
  7. Makefile
  8. README.txt