codec_adapter: Used nested Kconfig of codec adapter codecs

The codec config of codec adapter should be placed under
src/audio/codec_adapter. In the future we might add multiple other
types of libraries. So far we support Cadence and Dummy codecs.

Signed-off-by: Pin-chih Lin <johnylin@google.com>
This commit is contained in:
Pin-chih Lin 2021-01-11 16:17:03 +08:00 committed by Liam Girdwood
parent 9b0209ba8b
commit 39285411d3
2 changed files with 22 additions and 16 deletions

View File

@ -328,23 +328,8 @@ config COMP_CODEC_ADAPTER
"src\include\sof\audio\codec_adapter\interfaces.h". It is possible to link several "src\include\sof\audio\codec_adapter\interfaces.h". It is possible to link several
different codecs and use them in parallel. different codecs and use them in parallel.
if COMP_CODEC_ADAPTER rsource "codec_adapter/Kconfig"
config CADENCE_CODEC
bool "Cadence codec"
default n
help
Select for codecs which conforms to the Cadence API.
This will cause codec adapter component to include header
files specific to CADENCE base codecs.
config DUMMY_CODEC
bool "Dummy codec"
default n
help
Select for a dummy API codec implementation.
This will cause codec adapter component to include header
files specific to DUMMY base codecs.
endif
endmenu # "Audio components" endmenu # "Audio components"
menu "Data formats" menu "Data formats"

View File

@ -0,0 +1,21 @@
# SPDX-License-Identifier: BSD-3-Clause
menu "Codec Adapter codecs"
visible if COMP_CODEC_ADAPTER
config CADENCE_CODEC
bool "Cadence codec"
default n
help
Select for codecs which conforms to the Cadence API.
This will cause codec adapter component to include header
files specific to CADENCE base codecs.
config DUMMY_CODEC
bool "Dummy codec"
default n
help
Select for a dummy API codec implementation.
This will cause codec adapter component to include header
files specific to DUMMY base codecs.
endmenu