Open moonlightly opened 10 years ago
when build xt926 & htc one & d2vzw and etc ROMS always tell these errors
was there ever a fix in build for this
Getting the same on Peregrine (Moto G LTE). Any fix would be wonderful.
The problem is in here: https://github.com/SlimRoms/hardware_libhardware/blob/kk4.4-caf/include/hardware/audio.h#L160
In the default (kk4.4) branch, those lines are missing. Switching to kk4.4-caf should fix it. Switching now.
After that, there's a new issue though.
https://github.com/CyanogenMod/android_external_stagefright-plugins/commit/0d37b03502276671838aaef9c56766b95e97dbad isn't compatible with this version of frameworks_av, which lacks this line https://github.com/CyanogenMod/android_frameworks_av/blob/cm-11.0/include/media/stagefright/MetaData.h#L190
Further, the default CyanogenMod remote in the default Slim manifest doesn't specify a fixed revision and assumes the cm-11.0 branch will be compatible. All up to date builds of Slim will be failing right now I'm fairly sure. You need to update the AV stuff as CM seems to be doing a lot of work there, particularly regarding audio.
target thumb C++: libcameraservice <= frameworks/av/services/camera/libcameraservice/common/CameraDeviceBase.cpp frameworks/av/media/libmedia/AudioParameter.cpp:39:50: error: 'AUDIO_PARAMETER_KEY_HANDLE_FM' was not declared in this scope frameworks/av/media/libmedia/AudioParameter.cpp:40:51: error: 'AUDIO_PARAMETER_KEY_VOIP_CHECK' was not declared in this scope frameworks/av/media/libmedia/AudioParameter.cpp:41:53: error: 'AUDIO_PARAMETER_KEY_FLUENCE_TYPE' was not declared in this scope frameworks/av/media/libmedia/AudioParameter.cpp:42:45: error: 'AUDIO_PARAMETER_KEY_SSR' was not declared in this scope frameworks/av/media/libmedia/AudioParameter.cpp:43:58: error: 'AUDIO_PARAMETER_KEY_HANDLE_A2DP_DEVICE' was not declared in this scope frameworks/av/media/libmedia/AudioParameter.cpp:44:52: error: 'AUDIO_PARAMETER_KEY_ADSP_STATUS' was not declared in this scope frameworks/av/media/libmedia/AudioParameter.cpp:45:54: error: 'AUDIO_CAN_OPEN_PROXY' was not declared in this scope frameworks/av/media/libmedia/AudioParameter.cpp:46:50: error: 'AUDIO_PARAMETER_KEY_FM_VOLUME' was not declared in this scope make: *\ [/home/mc/slim/out/target/product/xt925/obj/STATIC_LIBRARIES/libmedia_helper_intermediates/AudioParameter.o] error 1