MT#55831 core:amci: call codec module init function with mod_config_path param

(real ticket number: TT#13019)

Change-Id: Ia97d6274f948fa9ff96ec0964f4fef5e8eca1e5e
mr11.2.1
Stefan Sayer 3 years ago committed by Donat Zenichev
parent abfd146d1e
commit 737054b2ef

@ -526,7 +526,7 @@ int AmPlugIn::loadAudioPlugIn(amci_exports_t* exports)
}
if (exports->module_load) {
if (exports->module_load() < 0) {
if (exports->module_load(AmConfig::ModConfigPath.c_str()) < 0) {
ERROR("initializing audio plug-in!\n");
return -1;
}

@ -227,7 +227,7 @@ typedef int (*amci_file_mem_close_t)( unsigned char* mptr,
* this function initializes the codec module.
* @return 0 on success, <0 on error
*/
typedef int (*amci_codec_module_load_t)(void);
typedef int (*amci_codec_module_load_t)(const char* ModConfigPath);
/**
* \brief Codec's module's destroy function pointer.

Loading…
Cancel
Save