audio: dts: Fix header pathing

DTS headers have been publish, don't use local includes and don't modify
include paths for no reason.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
This commit is contained in:
Curtis Malainey 2023-07-13 13:05:06 -07:00 committed by Liam Girdwood
parent 9d51b5c10f
commit 48620f7a90
2 changed files with 2 additions and 3 deletions

View File

@ -75,7 +75,6 @@ if((NOT CONFIG_LIBRARY) OR CONFIG_LIBRARY_STATIC)
if(CONFIG_DTS_CODEC) if(CONFIG_DTS_CODEC)
add_local_sources(sof module/dts.c) add_local_sources(sof module/dts.c)
target_compile_definitions(sof PRIVATE -DDTS_MATH_INT32 -DDTS_XTENSA) target_compile_definitions(sof PRIVATE -DDTS_MATH_INT32 -DDTS_XTENSA)
target_include_directories(sof PRIVATE ${CMAKE_CURRENT_LIST_DIR}/../../include/sof/audio/dts/)
sof_add_static_library(DtsCodec ${CMAKE_CURRENT_LIST_DIR}/lib/release/libdts-sof-interface-i32.a) sof_add_static_library(DtsCodec ${CMAKE_CURRENT_LIST_DIR}/lib/release/libdts-sof-interface-i32.a)
endif() endif()

View File

@ -4,10 +4,10 @@
// //
// Author: Mark Barton <mark.barton@xperi.com> // Author: Mark Barton <mark.barton@xperi.com>
#include "sof/audio/module_adapter/module/generic.h"
#include <rtos/init.h> #include <rtos/init.h>
#include <sof/audio/module_adapter/module/generic.h>
#include <sof/audio/dts/DtsSofInterface.h>
#include "DtsSofInterface.h"
/* d95fc34f-370f-4ac7-bc86-bfdc5be241e6 */ /* d95fc34f-370f-4ac7-bc86-bfdc5be241e6 */
DECLARE_SOF_RT_UUID("dts_codec", dts_uuid, 0xd95fc34f, 0x370f, 0x4ac7, DECLARE_SOF_RT_UUID("dts_codec", dts_uuid, 0xd95fc34f, 0x370f, 0x4ac7,