LGgFour / android_issues

Issue tracker for LOS, eOS, AOSCP and any other custom ROM
4 stars 0 forks source link

eliminate BUILD workaround: audio #3

Closed steadfasterX closed 4 years ago

steadfasterX commented 4 years ago

atm this audio (build) patch is needed as the relevant part has been merged to 8996 only (LOS base):

diff --git a/hal/audio_extn/audio_extn.h b/hal/audio_extn/audio_extn.h
index fad9c0f..c1fb1cc 100644
--- a/hal/audio_extn/audio_extn.h
+++ b/hal/audio_extn/audio_extn.h
@@ -104,6 +104,8 @@ bool audio_extn_should_use_fb_anc(void);
 bool audio_extn_should_use_handset_anc(int in_channels);
 #endif

+#define compress_set_next_track_param(compress, codec_options) (0)
+
 #ifndef FLUENCE_ENABLED
 #define audio_extn_set_fluence_parameters(adev, parms) (0)
 #define audio_extn_get_fluence_parameters(adev, query, reply) (0)
steadfasterX commented 4 years ago

fixed by: https://github.com/LineageOS/android_hardware_qcom_audio/commit/2869d8e760572c81ee3bdec3e08f79cc91a97f01