-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
audio: dts: move dts code to standalone folder
This was suggested in PR#8389. Since the module uses module_interface, it doesn't have to put it under module_adaper/module/. Move dts codes from src/audo/module_adapter/module/ to src/audio/codec. Signed-off-by: Joe Cheng <[email protected]>
- Loading branch information
1 parent
9dfe9c1
commit ce4acfd
Showing
9 changed files
with
39 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
if(CONFIG_DTS_CODEC) | ||
add_local_sources(sof dts/dts.c) | ||
target_compile_definitions(sof PRIVATE -DDTS_MATH_INT32 -DDTS_XTENSA) | ||
if (CONFIG_DTS_CODEC_STUB) | ||
add_local_sources(sof dts/dts_stub.c) | ||
else() | ||
sof_add_static_library(DtsCodec | ||
${SOF_ROOT_SOURCE_DIRECTORY}/third_party/lib/libdts-sof-interface-i32.a) | ||
endif() | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
config DTS_CODEC | ||
bool "DTS codec" | ||
default n | ||
select DTS_CODEC_STUB if COMP_STUBS | ||
help | ||
Select to include DTS codec. | ||
In order to compile with this option enabled, a pre-compiled static library | ||
must be provided by DTS for your target platform. If this library is not present | ||
then compilation errors will occur. | ||
For more information, please contact [email protected] | ||
|
||
config DTS_CODEC_STUB | ||
bool "DTS codec stub" | ||
depends on DTS_CODEC | ||
default n | ||
help | ||
Select to include DTS codec stub library. This is meant for testing and CI | ||
purposes only. |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -176,25 +176,6 @@ endif # Cadence | |
Select to build the waves codec with a stub file. This should only be used for | ||
testing or CI. | ||
|
||
config DTS_CODEC | ||
bool "DTS codec" | ||
default n | ||
select DTS_CODEC_STUB if COMP_STUBS | ||
help | ||
Select to include DTS codec. | ||
In order to compile with this option enabled, a pre-compiled static library | ||
must be provided by DTS for your target platform. If this library is not present | ||
then compilation errors will occur. | ||
For more information, please contact [email protected] | ||
|
||
config DTS_CODEC_STUB | ||
bool "DTS codec stub" | ||
depends on DTS_CODEC | ||
default n | ||
help | ||
Select to include DTS codec stub library. This is meant for testing and CI | ||
purposes only. | ||
|
||
config INTEL_MODULES | ||
bool "Intel modules" | ||
default n | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters