-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build error with SlimRoms/frameworks_av #2
Comments
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. CyanogenMod/android_external_stagefright-plugins@0d37b03 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. |
add r8, r0, asl SlimRoms#2 and add r8, r8, r0, asl SlimRoms#2 are identical in gcc inline assembly, but clang accepts only the latter variant. Change-Id: I922367984b6ae2f7268ce99facaf8da425c39d7e Signed-off-by: Bernhard Rosenkränzer <[email protected]>
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
The text was updated successfully, but these errors were encountered: