CRAS: cras_tests: move arg parsing into module

Moves the AudioOptions struct, argument parsing code, and dependencies
into their own audio_options module.

BUG=chromium:1008990
TEST=cargo build

Change-Id: If8c0f293b75146d087f9abf710f69818bfd521f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/1833630
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org>
Tested-by: Fletcher Woodruff <fletcherw@chromium.org>
Commit-Queue: Fletcher Woodruff <fletcherw@chromium.org>
2 files changed