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()
138 aptx_encoder_lib_handle, APTX_ENCODER_ENCODE_STEREO_NAME); in A2DP_VendorLoadEncoderAptx()
148 aptx_encoder_lib_handle, APTX_ENCODER_SIZEOF_PARAMS_NAME); in A2DP_VendorLoadEncoderAptx()
165 if (aptx_encoder_lib_handle != NULL) { in A2DP_VendorUnloadEncoderAptx()
166 dlclose(aptx_encoder_lib_handle); in A2DP_VendorUnloadEncoderAptx()
167 aptx_encoder_lib_handle = NULL; in A2DP_VendorUnloadEncoderAptx()