Skip to content

Commit

Permalink
module: module_adapter: Move api_ver header file to module
Browse files Browse the repository at this point in the history
Moved header files to the module directory to separate an shared interface
used by sof and native loadable modules.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
  • Loading branch information
softwarecki authored and lgirdwood committed Nov 24, 2023
1 parent af34866 commit 0cfe9d9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/audio/module_adapter/module/modules.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <native_system_agent.h>
#include <sof/lib_manager.h>
#include <sof/audio/module_adapter/module/module_interface.h>
#include <module_api_ver.h>
#include <module/module/api_ver.h>

/* Intel module adapter is an extension to SOF module adapter component that allows to integrate
* modules developed under IADK (Intel Audio Development Kit) Framework. IADK modules uses uniform
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
* Author: Pawel Dobrowolski <pawelx.dobrowolski@intel.com>
*/

#ifndef __MODULE_API_VER_H__
#define __MODULE_API_VER_H__
#ifndef __MODULE_MODULE_API_VER_H__
#define __MODULE_MODULE_API_VER_H__

#include <stdint.h>

#define ADSP_BUILD_INFO_FORMAT 0

/*
* Api version 5.0.0 for sof loadable modules
Expand All @@ -31,4 +35,4 @@ struct sof_module_api_build_info{
union sof_module_api_version api_version_number;
};

#endif /* __MODULE_API_VER_H__ */
#endif /* __MODULE_MODULE_API_VER_H__ */
2 changes: 1 addition & 1 deletion src/include/sof/audio/module_adapter/module/modules.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* - Processing Module Adapter - SOF base FW side of ProcessingModuleInterface API
*
* Using the same philosofy loadable modules are using module adapter to interact with SOF FW.
* Module recognision is done by checking module API version defined in module_api_ver.h
* Module recognision is done by checking module API version defined in module/module/api_ver.h
* with version read from elf file.
*/

Expand Down

0 comments on commit 0cfe9d9

Please sign in to comment.