Home
last modified time | relevance | path

Searched refs:aptx_encoder_lib_handle (Results 1 – 1 of 1) sorted by relevance

/system/bt/stack/a2dp/
Da2dp_vendor_aptx_encoder.cc41 static void* aptx_encoder_lib_handle = NULL; variable
117 if (aptx_encoder_lib_handle != NULL) return true; // Already loaded in A2DP_VendorLoadEncoderAptx()
120 aptx_encoder_lib_handle = dlopen(APTX_ENCODER_LIB_NAME, RTLD_NOW); in A2DP_VendorLoadEncoderAptx()
121 if (aptx_encoder_lib_handle == NULL) { in A2DP_VendorLoadEncoderAptx()
127 aptx_encoder_init_func = (tAPTX_ENCODER_INIT)dlsym(aptx_encoder_lib_handle, in A2DP_VendorLoadEncoderAptx()
137 aptx_encoder_lib_handle, APTX_ENCODER_ENCODE_STEREO_NAME); in A2DP_VendorLoadEncoderAptx()
146 aptx_encoder_lib_handle, APTX_ENCODER_SIZEOF_PARAMS_NAME); in A2DP_VendorLoadEncoderAptx()
162 if (aptx_encoder_lib_handle != NULL) { in A2DP_VendorUnloadEncoderAptx()
163 dlclose(aptx_encoder_lib_handle); in A2DP_VendorUnloadEncoderAptx()
164 aptx_encoder_lib_handle = NULL; in A2DP_VendorUnloadEncoderAptx()