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 --- hw/goldfish_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw') 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, -- cgit v1.1