Revert "codec_adapter: remove macro CODEC_INTERFACE_ID()"

This reverts commit caff7a3726.
This commit is contained in:
Liam Girdwood 2022-01-21 12:01:42 +00:00
parent 1635fa4723
commit 26436b4c61
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@
#include <sof/lib/memory.h>
#define comp_get_module_data(d) (&(((struct processing_module *)((d)->priv_data))->priv))
#define CODEC_GET_INTERFACE_ID(id) ((id) >> 0x8)
#define CODEC_GET_API_ID(id) ((id) & 0xFF)
#define API_CALL(cd, cmd, sub_cmd, value, ret) \
do { \