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. Any help will be appreciated. Thanks, Alex -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
