Skip to content

Commit b4591ca

Browse files
ranj063lgirdwood
authored andcommitted
codec_adapter: rename it to module_adapter and fix all includes
No functional changes. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
1 parent 173a781 commit b4591ca

File tree

13 files changed

+16
-16
lines changed

13 files changed

+16
-16
lines changed

src/audio/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ if(NOT CONFIG_LIBRARY)
104104
if(CONFIG_COMP_ASRC)
105105
add_subdirectory(asrc)
106106
endif()
107-
if(CONFIG_COMP_CODEC_ADAPTER)
108-
add_subdirectory(codec_adapter)
107+
if(CONFIG_COMP_MODULE_ADAPTER)
108+
add_subdirectory(module_adapter)
109109
endif()
110110
if(CONFIG_COMP_IGO_NR)
111111
add_subdirectory(igo_nr)

src/audio/Kconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -446,18 +446,18 @@ config COMP_TDFB
446446
for channels selection, channel filter coefficients, and output
447447
streams mixing.
448448

449-
config COMP_CODEC_ADAPTER
450-
bool "Codec adapter"
449+
config COMP_MODULE_ADAPTER
450+
bool "Module adapter"
451451
default n
452452
help
453453
This component is an adapter between SoF components and any external third
454454
party codecs/libraries. In order to make use of it the library itself should
455455
be statically linked with the SoF FW binary image and the codec details, such as its
456456
ID or specific methods provided in generic interface object located under
457-
"src\include\sof\audio\codec_adapter\interfaces.h". It is possible to link several
457+
"src\include\sof\audio\module_adapter\interfaces.h". It is possible to link several
458458
different codecs and use them in parallel.
459459

460-
rsource "codec_adapter/Kconfig"
460+
rsource "module_adapter/Kconfig"
461461

462462
config COMP_IGO_NR
463463
bool "IGO NR component"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: BSD-3-Clause
22

3-
menu "Codec Adapter codecs"
4-
visible if COMP_CODEC_ADAPTER
3+
menu "Module Adapter codecs"
4+
visible if COMP_MODULE_ADAPTER
55

66
config CADENCE_CODEC
77
bool "Cadence codec"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
*
1212
*/
1313

14-
#include <sof/audio/codec_adapter/module/generic.h>
15-
#include <sof/audio/codec_adapter/module/cadence.h>
14+
#include <sof/audio/module_adapter/module/generic.h>
15+
#include <sof/audio/module_adapter/module/cadence.h>
1616
#include <ipc/compress_params.h>
1717

1818
/* d8218443-5ff3-4a4c-b388-6cfe07b956aa */
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// Author: Mark Barton <mark.barton@xperi.com>
66

7-
#include "sof/audio/codec_adapter/module/generic.h"
7+
#include "sof/audio/module_adapter/module/generic.h"
88

99
#include "DtsSofInterface.h"
1010

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*/
1313

14-
#include <sof/audio/codec_adapter/module_adapter.h>
14+
#include <sof/audio/module_adapter/module_adapter.h>
1515

1616
/*****************************************************************************/
1717
/* Local helper functions */

src/audio/codec_adapter/module/passthrough.c renamed to src/audio/module_adapter/module/passthrough.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
// Passthrough codec implementation to demonstrate Codec Adapter API
88

9-
#include <sof/audio/codec_adapter/module/generic.h>
9+
#include <sof/audio/module_adapter/module/generic.h>
1010

1111
/* 376b5e44-9c82-4ec2-bc83-10ea101afa8f */
1212
DECLARE_SOF_RT_UUID("passthrough_codec", passthrough_uuid, 0x376b5e44, 0x9c82, 0x4ec2,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// Author: Oleksandr Strelchenko <oleksandr.strelchenko@waves.com>
66
//
7-
#include <sof/audio/codec_adapter/module/generic.h>
7+
#include <sof/audio/module_adapter/module/generic.h>
88
#include <sof/debug/debug.h>
99
#include <sof/compiler_attributes.h>
1010

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include <sof/audio/buffer.h>
1414
#include <sof/audio/component.h>
1515
#include <sof/audio/ipc-config.h>
16-
#include <sof/audio/codec_adapter/module_adapter.h>
16+
#include <sof/audio/module_adapter/module_adapter.h>
1717
#include <sof/audio/pipeline.h>
1818
#include <sof/common.h>
1919
#include <sof/platform.h>

0 commit comments

Comments
 (0)