Skip to content

Commit

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

Signed-off-by: Adrian Warecki <[email protected]>
  • Loading branch information
softwarecki committed Oct 23, 2023
1 parent 37dbbfe commit c93f106
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 <sof_api/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
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 sof_api/module/api_ver.h
* with version read from elf file.
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
* Author: Pawel Dobrowolski <[email protected]>
*/

#ifndef __MODULE_API_VER_H__
#define __MODULE_API_VER_H__
#ifndef __SOF_API_MODULE_API_VER_H__
#define __SOF_API_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 /* __SOF_API_MODULE_API_VER_H__ */

0 comments on commit c93f106

Please sign in to comment.