[vdl] Enable hardware audio emulation on fx vdl.
Change-Id: I9ac7cc4126355bea17b00f457feb9e39d3b46220
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/442633
Commit-Queue: Yuan Zhi <yuanzhi@google.com>
Reviewed-by: Renato Mangini Dias <mangini@google.com>
Testability-Review: Renato Mangini Dias <mangini@google.com>
diff --git a/tools/devshell/tests/subcommands/fx_vdl_test b/tools/devshell/tests/subcommands/fx_vdl_test
index bff50ac..9dd1a27 100644
--- a/tools/devshell/tests/subcommands/fx_vdl_test
+++ b/tools/devshell/tests/subcommands/fx_vdl_test
@@ -51,7 +51,7 @@
"--tuntap=false" \
_ANY_ _ANY_ _ANY_ _ANY_ _ANY_ _ANY_ _ANY_ \
"--ga=true" \
- _ANY_
+ _ANY_ _ANY_
}
TEST_fx_vdl_tuntap() {
@@ -66,7 +66,7 @@
"--tuntap=true" \
_ANY_ _ANY_ _ANY_ _ANY_ _ANY_ _ANY_ _ANY_ \
"--ga=true" \
- _ANY_
+ _ANY_ _ANY_
}
TEST_fx_vdl_headless_tuntap() {
@@ -81,7 +81,7 @@
"--tuntap=true" \
_ANY_ _ANY_ _ANY_ _ANY_ _ANY_ _ANY_ _ANY_ \
"--ga=true" \
- _ANY_
+ _ANY_ _ANY_
}
TEST_fx_vdl_tuntap_script() {
@@ -97,7 +97,7 @@
"--upscript=./script" \
_ANY_ _ANY_ _ANY_ _ANY_ _ANY_ _ANY_ \
"--ga=true" \
- _ANY_
+ _ANY_ _ANY_
}
BT_RUN_TESTS "$@"
diff --git a/tools/devshell/vdl b/tools/devshell/vdl
index db7742c..63fbe61 100755
--- a/tools/devshell/vdl
+++ b/tools/devshell/vdl
@@ -215,6 +215,7 @@
--host_port_map="${PORT_MAP}" \
--output_launched_device_proto="${VDL_PROTO}" \
--ga=true \
- --emu_log="/tmp/emulator_log.log"
+ --emu_log="/tmp/emulator_log.log" \
+ --audio=true
fi