Skip to content

Commit 81bec6a

Browse files
singalsulgirdwood
authored andcommitted
Audio: KPB, Mixin-Mixout: Fix missing HiFi3 header include
If build format.h as generic without intrinsics, these modules fail to build due to no header included for HiFi3. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 2bc1ab8 commit 81bec6a

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/audio/kpb.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
#include <sof/lib/notifier.h>
5656
#endif
5757

58+
#ifdef KPB_HIFI3
59+
#include <xtensa/tie/xt_hifi3.h>
60+
#endif
61+
5862
static const struct comp_driver comp_kpb;
5963

6064
LOG_MODULE_REGISTER(kpb, CONFIG_SOF_LOG_LEVEL);

src/audio/mixin_mixout/mixin_mixout_hifi3.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
#if SOF_USE_HIFI(3, MIXIN_MIXOUT) || SOF_USE_HIFI(4, MIXIN_MIXOUT)
1212

13+
#include <xtensa/tie/xt_hifi3.h>
14+
1315
#if CONFIG_FORMAT_S16LE
1416
static void mix_s16(struct cir_buf_ptr *sink, int32_t start_sample, int32_t mixed_samples,
1517
const struct cir_buf_ptr *source,

0 commit comments

Comments
 (0)