diff options
author | David 'Digit' Turner <digit@android.com> | 2011-05-05 12:40:49 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2011-05-05 12:40:49 +0200 |
commit | 764a3c96b99c8fbb6765d08ea68ec7fcc9bc6a1f (patch) | |
tree | d8d44630cd1194f0cd19f7091ac1da4a656444b5 | |
parent | 240c5cb1a24f5201472067a24c5d1ac54f6b8a20 (diff) | |
download | external_qemu-764a3c96b99c8fbb6765d08ea68ec7fcc9bc6a1f.zip external_qemu-764a3c96b99c8fbb6765d08ea68ec7fcc9bc6a1f.tar.gz external_qemu-764a3c96b99c8fbb6765d08ea68ec7fcc9bc6a1f.tar.bz2 |
Fix emulator audio.
Audio support was compiled in, but never initialized because
the hardware init function is in a different module and required
HAS_AUDIO to be defined too.
Change-Id: I57eccfb3a0abea86c29a9046f9f35d482a99c1f5
-rw-r--r-- | Makefile.target | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.target b/Makefile.target index 8006c8d..7681dba 100644 --- a/Makefile.target +++ b/Makefile.target @@ -103,6 +103,9 @@ LOCAL_SRC_FILES += arm-dis.c LOCAL_CFLAGS += $(ZLIB_CFLAGS) endif +# required to ensure we properly initialize virtual audio hardware +LOCAL_CFLAGS += -DHAS_AUDIO + ifeq ($(EMULATOR_TARGET_ARCH),x86) HW_SOURCES += \ apic.c \ |