Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/module/audio/sink_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,17 @@

#include <module/audio/sink_api.h>
#include <module/audio/audio_stream.h>
/*
* When building native system-service modules only exported module headers can
* be included, autoconf.h isn't included either. To identify such a build we
* need any symbol that is guaranteed to be defined with any SOF build.
* CONFIG_CORE_COUNT is such a symbol, it is always defined to an integer number
*/
#ifndef CONFIG_CORE_COUNT
#define EXPORT_SYMBOL(...)
#else
#include <rtos/symbol.h>
#endif

/* This file contains public sink API functions that were too large to mark is as inline. */

Expand Down
11 changes: 10 additions & 1 deletion src/module/audio/source_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,19 @@
* Copyright(c) 2023 Intel Corporation. All rights reserved.
*/


#include <module/audio/source_api.h>
#include <module/audio/audio_stream.h>
/*
* When building native system-service modules only exported module headers can
* be included, autoconf.h isn't included either. To identify such a build we
* need any symbol that is guaranteed to be defined with any SOF build.
* CONFIG_CORE_COUNT is such a symbol, it is always defined to an integer number
*/
#ifndef CONFIG_CORE_COUNT
#define EXPORT_SYMBOL(...)
#else
#include <rtos/symbol.h>
#endif

/* This file contains public source API functions that were too large to mark is as inline. */

Expand Down