Header: spf/api/modules/amdb_api.h
Structures
amdb_module_reg_info_t
Payload for AMDB_CMD_REGISTER_MODULES.
Members
Type of the module interface.
Version of the module interface.
amdb_capi_module_reg_info_t
Payload for AMDB_CMD_REGISTER_MODULES.
Members
Length of the SO filename (in bytes).
Result of the module registration.
amdb_module_registration_t
Payload for AMDB_CMD_REGISTER_MODULES.
Members
ID for the processor domain in which the AMDB is running.
Number of modules being registered.
Version of the amdb_module_reg_info_t structure.
Array of registration information for num_modules (of type reg_info[num_modules]).
amdb_module_deregistration_t
Payload for AMDB_CMD_DEREGISTER_MODULES.
Members
ID for the processor domain in which the AMDB is running.
Number of modules being registered.
Array of module IDs for num_modules (module_id[num_modules]).
amdb_load_unload_info_t
Payload for AMDB_CMD_LOAD_MODULES, AMDB_CMD_RSP_LOAD_MODULES, and AMDB_CMD_UNLOAD_MODULES.
Members
Lower 32 bits of the 64-bit handle to the module.
Upper 32 bits of the 64-bit handle to the module.
amdb_module_load_unload_t
Payload for AMDB_CMD_LOAD_MODULES, AMDB_CMD_RSP_LOAD_MODULES, and AMDB_CMD_UNLOAD_MODULES.
Members
ID for the processor domain in which the AMDB is running.
Result of module loading.
Number of modules being registered.
Array of load or unload information for num_modules (of type load_unload_info[num_modules]).
amdb_param_id_module_version_info_t
Payload for AMDB_PARAM_ID_MODULE_VERSION_INFO.
Members
ID for the processor domain.
Number of modules in the array.
amdb_module_build_ts_info_t
Members
Year that the build was produced.
month the build was produced
day the build was produced
hour the build was produced
minute the build was produced
second the build was produced
amdb_module_version_info_payload_t
Members
Requested module id, to be filled in by the client.
Indicates whether an error has occurred loading the module.
1 if and only if the module is present and not stubbed in the AMDB.
Major version of the requested module.
Minor version of the requested module.
amdb_module_build_ts_info_t
Indicates the time at which the build for the given module was created.
Type Definitions
amdb_module_reg_info_t
amdb_capi_module_reg_info_t
amdb_module_registration_t
amdb_module_deregistration_t
amdb_load_unload_info_t
amdb_module_load_unload_t
amdb_param_id_module_version_info_t
amdb_module_build_ts_info_t
amdb_module_version_info_payload_t
Macros
AMDB_MODULE_REG_STRUCT_V1
AMDB_INTERFACE_TYPE_CAPI
Interface type is the Common Audio Processor Interface.
AMDB_INTERFACE_VERSION_CAPI_V3
Interface version is the Common Audio Processor Interface version 3.
AMDB_MODULE_TYPE_GENERIC
Module is generic, such as a preprocessor, postprocessor, and so on.
AMDB_MODULE_TYPE_DECODER
Module is a decoder.
AMDB_MODULE_TYPE_ENCODER
Module is an encoder.
AMDB_MODULE_TYPE_CONVERTER
Module is a converter.
AMDB_MODULE_TYPE_PACKETIZER
Module is a packetizer.
AMDB_MODULE_TYPE_DEPACKETIZER
Module is a de-packetizer.
AMDB_MODULE_TYPE_DETECTOR
Module is a detector (such as DTMF, VoiceUI).
AMDB_MODULE_TYPE_GENERATOR
Module is a generator (such as DTMF, Ultrasound).
AMDB_MODULE_TYPE_PP
Module is a pre or post-processor (such as filters).
AMDB_MODULE_TYPE_END_POINT
Module is a an end point (software or hardware end point, such as I2S source or sink).
AMDB_MODULE_INSTANCE_ID
Instance ID for the AMDB module.
AMDB_CMD_REGISTER_MODULES
Registers a module with the AMDB to enable the module for dynamic loading.
AMDB_CMD_DEREGISTER_MODULES
Deregisters one or more registered modules.
AMDB_CMD_LOAD_MODULES
Loads one or more modules if they were successfully registered with the AMDB.
AMDB_CMD_RSP_LOAD_MODULES
Sent in response to an AMDB_CMD_LOAD_MODULES command.
AMDB_CMD_UNLOAD_MODULES
Unloads a module that was loaded via the AMDB_CMD_LOAD_MODULES command.
AMDB_PARAM_ID_MODULE_VERSION_INFO
Identifier for the parameter that gets the module version info.
AMDB_MODULE_INFO_OK
AMDB_MODULE_INFO_ERR_FILE_NOT_FOUND
AMDB_MODULE_INFO_ERR_DYNAMIC_LINK
AMDB_MODULE_INFO_ERR_GENERAL