SYNC CL : MSM8953 @ CL#:12212299 PROJECT PATH : // Platform / N / NILE / COMBINATION / MSM8953 Cross Reference: Android.mkxref: /android/vendor/samsung/frameworks/audio/common_defines/Android.mk HomeHistoryAnnotateLine#NavigateRawDownload only in /android/vendor/samsung/frameworks/audio/common_defines/1LOCAL_PATH:= $(call my-dir) 2 3TUNING_FILE_PATH := $(TARGET_DEVICE_DIR)/AudioData/configs 4#above is same next ‘device/samsung/xxxx/AudioData/configs‘ 5 6AUDIO_OUT_HEADERS_PATH := $(call sec_audiotuning_generated_path) 7#above is same next ‘out/target/product/xxxx/obj/include/sec_audio_headers‘ 8 9#[ make soundbooster_param.h 10$(AUDIO_OUT_HEADERS_PATH)/soundbooster_param.h : PRIVATE_LOCAL_PATH := $(LOCAL_PATH) 11$(AUDIO_OUT_HEADERS_PATH)/soundbooster_param.h : $(TUNING_FILE_PATH)/soundbooster.txt 12 mkdir -p $(dir [email protected]) 13 $(PRIVATE_LOCAL_PATH)/gen_soundbooster.sh $^ > [email protected] 14# end soundbooster_param.h ] 15 16#[ make soundbooster_voip_param.h 17$(AUDIO_OUT_HEADERS_PATH)/soundbooster_voip_param.h : PRIVATE_LOCAL_PATH := $(LOCAL_PATH) 18$(AUDIO_OUT_HEADERS_PATH)/soundbooster_voip_param.h : $(TUNING_FILE_PATH)/soundbooster_voip.txt 19 mkdir -p $(dir [email protected]) 20 $(PRIVATE_LOCAL_PATH)/gen_soundbooster_voip.sh $^ > [email protected] 21# end soundbooster_voip_param.h ] 22 23#[ make samsungrec_param.h 24$(AUDIO_OUT_HEADERS_PATH)/samsungrec_param.h : PRIVATE_LOCAL_PATH := $(LOCAL_PATH) 25$(AUDIO_OUT_HEADERS_PATH)/samsungrec_param.h : $(TUNING_FILE_PATH)/samsungrec.txt 26 mkdir -p $(dir [email protected]) 27 $(PRIVATE_LOCAL_PATH)/gen_samsungrec.sh $^ > [email protected] 28# end samsungrec_param.h ] 29 30 31#[ make acousticeq_param.h 32$(AUDIO_OUT_HEADERS_PATH)/acousticeq_param.h : PRIVATE_LOCAL_PATH := $(LOCAL_PATH) 33$(AUDIO_OUT_HEADERS_PATH)/acousticeq_param.h : $(TUNING_FILE_PATH)/aeqcoe.txt 34 mkdir -p $(dir [email protected]) 35 $(PRIVATE_LOCAL_PATH)/gen_acousticeq.sh $^ > [email protected] 36# end acousticeq_param.h ] 37 38#[ make DiamondVoiceTuning.h 39$(AUDIO_OUT_HEADERS_PATH)/DiamondVoiceTuning.h : PRIVATE_LOCAL_PATH := $(LOCAL_PATH) 40$(AUDIO_OUT_HEADERS_PATH)/DiamondVoiceTuning.h : $(TUNING_FILE_PATH)/DiamondVoiceTuning.data 41 mkdir -p $(dir [email protected]) 42 cp $^ [email protected] 43# end DiamondVoiceTuning.h ] 44 45#[ make VolumeTable.h 46VOLUME_DATA := 47ifeq ($(SEC_FACTORY_BUILD),true) 48ifneq (,$(strip $(wildcard $(TARGET_DEVICE_DIR)/AudioData/configs/Volume_factory.data))) 49 VOLUME_DATA := Volume_factory.data 50endif 51endif 52ifeq ($(VOLUME_DATA),) 53ifneq (,$(strip $(wildcard $(TARGET_DEVICE_DIR)/AudioData/configs/Volume.$(TARGET_PRODUCT).data))) 54 VOLUME_DATA := Volume.$(TARGET_PRODUCT).data 55else 56 VOLUME_DATA := Volume.data 57endif 58endif 59$(AUDIO_OUT_HEADERS_PATH)/VolumeTable.h : PRIVATE_LOCAL_PATH := $(LOCAL_PATH) 60$(AUDIO_OUT_HEADERS_PATH)/VolumeTable.h : $(TUNING_FILE_PATH)/$(VOLUME_DATA) 61 mkdir -p $(dir [email protected]) 62 $(PRIVATE_LOCAL_PATH)/gen_volumetable.sh $^ > [email protected] 63# end VolumeTable.h ] 64 65#[ make miccalib_param.h 66$(AUDIO_OUT_HEADERS_PATH)/miccalib_param.h : PRIVATE_LOCAL_PATH := $(LOCAL_PATH) 67$(AUDIO_OUT_HEADERS_PATH)/miccalib_param.h : $(TUNING_FILE_PATH)/miccalib.txt 68 mkdir -p $(dir [email protected]) 69ifneq (true,$(call spf_check,SEC_PRODUCT_FEATURE_AUDIO_CONFIG_RECORDALIVE_LIB_VERSION,)) 70 $(PRIVATE_LOCAL_PATH)/gen_miccalib.sh "RA" $^ > [email protected] 71else 72 $(PRIVATE_LOCAL_PATH)/gen_miccalib.sh "SR" $^ > [email protected] 73endif 74# end miccalib_param.h ] 75 76#[ make SoundBoosterParam.h 77ifeq (true,$(call spf_check,SEC_PRODUCT_FEATURE_AUDIO_NUMBER_OF_SPEAKER,4)) 78 SOUNDBOOSTER_PARAM := SoundBoosterParam_Quad.txt 79else 80 SOUNDBOOSTER_PARAM := SoundBoosterParam.txt 81endif 82$(AUDIO_OUT_HEADERS_PATH)/SoundBoosterParam.h : PRIVATE_LOCAL_PATH := $(LOCAL_PATH) 83$(AUDIO_OUT_HEADERS_PATH)/SoundBoosterParam.h : $(TUNING_FILE_PATH)/$(SOUNDBOOSTER_PARAM) 84 mkdir -p $(dir [email protected]) 85ifeq (true,$(call spf_check,SEC_PRODUCT_FEATURE_AUDIO_NUMBER_OF_SPEAKER,4)) 86 $(PRIVATE_LOCAL_PATH)/gen_soundbooster_plus_quad.sh $^ > [email protected] 87else 88 $(PRIVATE_LOCAL_PATH)/gen_soundbooster_plus.sh $^ > [email protected] 89endif 90# end SoundBoosterParam.h ] 91 92AUDIO_HEADERS := $(AUDIO_OUT_HEADERS_PATH)/soundbooster_param.h 93AUDIO_HEADERS += $(AUDIO_OUT_HEADERS_PATH)/soundbooster_voip_param.h 94AUDIO_HEADERS += $(AUDIO_OUT_HEADERS_PATH)/samsungrec_param.h 95AUDIO_HEADERS += $(AUDIO_OUT_HEADERS_PATH)/acousticeq_param.h 96AUDIO_HEADERS += $(AUDIO_OUT_HEADERS_PATH)/VolumeTable.h 97AUDIO_HEADERS += $(AUDIO_OUT_HEADERS_PATH)/miccalib_param.h 98AUDIO_HEADERS += $(AUDIO_OUT_HEADERS_PATH)/SoundBoosterParam.h 99AUDIO_HEADERS += $(AUDIO_OUT_HEADERS_PATH)/DiamondVoiceTuning.h 100 101all_audio_headers : $(AUDIO_HEADERS) 102 103#if you want to parse all tuning paramter, input next command 104# mm all_audio_headers 105Last source parsed date : 2017-07-06 PM 04:56:44
时间: 2024-10-10 15:10:57