aboutsummaryrefslogtreecommitdiffstats
path: root/hw
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 /hw
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 'hw')
-rw-r--r--hw/goldfish_audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/goldfish_audio.c b/hw/goldfish_audio.c
index 37e4c09..434522c 100644
--- a/hw/goldfish_audio.c
+++ b/hw/goldfish_audio.c
@@ -582,7 +582,7 @@ void goldfish_audio_init(uint32_t base, int id, const char* input_source)
if (android_hw->hw_audioOutput) {
s->voice = AUD_open_out (
&s->card,
- s->voice,
+ NULL,
"goldfish_audio",
s,
goldfish_audio_callback,