I think you are building the eclair branch. Aren't you? It's strange that some symbols are removed from AudioSystem.h in eclair branch. These symbols are necessary to compile alsa_sound. Maybe the Android team can explain it.
The simplest way to fix is just add them back, as shown in this patch: http://git.android-x86.org/?p=platform/frameworks/base.git;a=commitdiff;h=77f0983c9b920610cbe423b6463cf558d223fe12 On 4月26日, 下午9時16分, Alex Rus <[email protected]> wrote: > Hello, > > I'm trying to make a build with ALSA support. My local_manifest.xml > file is: > > <?xml version="1.0" encoding="UTF-8"?> > <manifest> > > <project path="external/alsa-lib" name="platform/external/alsa-lib"/ > > <project path="external/alsa-utils" name="platform/external/alsa- > utils"/> > <project path="hardware/alsa_sound" name="platform/hardware/ > alsa_sound"/> > > </manifest> > > I've added the following options info my buildspec.mk file: > > HAVE_HTC_AUDIO_DRIVER := false > BOARD_USES_ALSA_AUDIO := true > BUILD_WITH_ALSA_UTILS := true > > After sync and build I have the following compilation error: > > target arm C++: libaudio <= hardware/alsa_sound/ALSAMixer.cpp > hardware/alsa_sound/ALSAMixer.cpp:77: error: 'DEVICE_OUT_FM_HEADPHONE' > is not a member of 'android::AudioSystem' > hardware/alsa_sound/ALSAMixer.cpp:77: error: 'DEVICE_OUT_FM_HEADPHONE' > is not a member of 'android::AudioSystem' > make: *** [out/debug/target/product/generic/obj/SHARED_LIBRARIES/ > libaudio_intermediates/ALSAMixer.o] Error 1 > > Do you know what's wrong? Probably, I need some special revision of > alsa_sound, but I couldn't find the correct revision. > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
