-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module_adapter : dts: update the paths of DTS related codes and library #8516
Conversation
Update the path to import DTS library from third_party/lib/ instead of src/audio/module_adapter/lib/release/. This action was requested in PR#8379. Signed-off-by: Joe Cheng <[email protected]>
src/audio/Kconfig
Outdated
For more information, please contact [email protected] | ||
|
||
config DTS_CODEC_STUB | ||
bool "DTS codec stub" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why does this option have to be user-selectable? The above DTS_CODEC
will select this one if COMP_STUBS
is enabled, and this option depends on DTS_CODEC
anyway. And I assume it cannot be selected without COMP_STUBS
either? (should it depend on it too?) So, this option - if at all needed - can be hidden?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would require @cujomalainey comment.
And for this question,
"And I assume it cannot be selected without COMP_STUBS either?" The answer is yes. DTS_CODEC_STUB requires both DTS_CODEC and COMP_STUBS enabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need this Kconfig if we are building any different DTS code, or stubs for any other module. i.e. the user has to actively select the module and also say I want to build the module as a stub. Otherwise its easy to select DTS and have KCONFIG_STUBs enabled elsewhere in Kconfig and then waste time debugging module build/init (where's my module?).
@@ -6,7 +6,7 @@ | |||
|
|||
#include <rtos/init.h> | |||
#include <sof/audio/module_adapter/module/generic.h> | |||
#include <sof/audio/dts/DtsSofInterface.h> | |||
#include <DtsSofInterface.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<> --> ""
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
Update the path to include DTS header files from third_party/include/. This action was requested in PR#8379. Signed-off-by: Joe Cheng <[email protected]>
a3b639a
to
46df996
Compare
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]>
46df996
to
6db27d7
Compare
This is a follow-up of PR#8379 to implement the below three items related to code relocation.