aboutsummaryrefslogtreecommitdiffstats
path: root/qemu-options.hx
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-01-02 13:17:22 +0100
committerDavid 'Digit' Turner <digit@android.com>2011-01-02 13:18:16 +0100
commitca29fbbb188a1aab9b69776d5dc6bc3e7f812a0a (patch)
tree49975f4c226c17a22f824f1763a4ad7eeeadf9a7 /qemu-options.hx
parent5164d3c53f57dfb468ab11136358b6e3b6cf0513 (diff)
downloadexternal_qemu-ca29fbbb188a1aab9b69776d5dc6bc3e7f812a0a.zip
external_qemu-ca29fbbb188a1aab9b69776d5dc6bc3e7f812a0a.tar.gz
external_qemu-ca29fbbb188a1aab9b69776d5dc6bc3e7f812a0a.tar.bz2
Add -audio-test-out option to the core.
This option can be used to quickly check audio output (without having to boot a full AVD and launch a sound-playing application). Usage: emulator <other-options> -qemu -audio-test-out qemu-android <other-options> -audio-test-out This simply generates an ugly saw signal, but that's enough for us. Change-Id: I060300b4000b9705d181c6262de8d4d13c749e69
Diffstat (limited to 'qemu-options.hx')
-rw-r--r--qemu-options.hx7
1 files changed, 5 insertions, 2 deletions
diff --git a/qemu-options.hx b/qemu-options.hx
index bd5934b..db3dfbb 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1598,7 +1598,7 @@ DEF("nand", HAS_ARG, QEMU_OPTION_nand, \
#endif /* CONFIG_TRACE */
-#if 1 /* ANDROID */
+#ifdef CONFIG_ANDROID
DEF("savevm-on-exit", HAS_ARG, QEMU_OPTION_savevm_on_exit, \
"savevm-on-exit [tag|id]\n" \
@@ -1688,4 +1688,7 @@ DEF("ui-port", HAS_ARG, QEMU_OPTION_ui_port, \
DEF("ui-settings", HAS_ARG, QEMU_OPTION_ui_settings, \
"-ui-settings <string> opaque string containing persitent UI settings\n")
-#endif
+DEF("audio-test-out", 0, QEMU_OPTION_audio_test_out, \
+ "-audio-test-out Test audio output\n")
+
+#endif /* ANDROID */