diff options
author | David 'Digit' Turner <digit@android.com> | 2011-01-02 13:17:22 +0100 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2011-01-02 13:18:16 +0100 |
commit | ca29fbbb188a1aab9b69776d5dc6bc3e7f812a0a (patch) | |
tree | 49975f4c226c17a22f824f1763a4ad7eeeadf9a7 /vl-android.c | |
parent | 5164d3c53f57dfb468ab11136358b6e3b6cf0513 (diff) | |
download | external_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 'vl-android.c')
-rw-r--r-- | vl-android.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vl-android.c b/vl-android.c index 57be79c..3fb50ea 100644 --- a/vl-android.c +++ b/vl-android.c @@ -191,6 +191,7 @@ #include "android/hw-lcd.h" #include "android/boot-properties.h" #include "android/core-init-utils.h" +#include "android/audio-test.h" #ifdef CONFIG_STANDALONE_CORE /* Verbose value used by the standalone emulator core (without UI) */ @@ -4641,6 +4642,10 @@ int main(int argc, char **argv, char **envp) android_op_ui_settings = (char*)optarg; break; + case QEMU_OPTION_audio_test_out: + android_audio_test_start_out(); + break; + #ifdef CONFIG_MEMCHECK case QEMU_OPTION_android_memcheck: android_op_memcheck = (char*)optarg; |