From ca29fbbb188a1aab9b69776d5dc6bc3e7f812a0a Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Sun, 2 Jan 2011 13:17:22 +0100 Subject: 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 -qemu -audio-test-out qemu-android -audio-test-out This simply generates an ugly saw signal, but that's enough for us. Change-Id: I060300b4000b9705d181c6262de8d4d13c749e69 --- qemu-options.hx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'qemu-options.hx') 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 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 */ -- cgit v1.1