Skip to content

Commit a71a460

Browse files
singalsukv2019i
authored andcommitted
Audio: Template Comp: Fix build for CONFIG_FORMAT_S24LE only
The build of template-generic.c would fail if only S24_LE format would be enabled without S32_LE. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent c241b74 commit a71a460

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/audio/template_comp/template-generic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ static int template_comp_s16(const struct processing_module *mod,
9696
}
9797
#endif /* CONFIG_FORMAT_S16LE */
9898

99-
#if CONFIG_FORMAT_S32LE || CONFIG_FORMAT_S32LE
99+
#if CONFIG_FORMAT_S32LE || CONFIG_FORMAT_S24LE
100100
/**
101101
* template_comp_s32() - Process S32_LE or S24_4LE format.
102102
* @mod: Pointer to module data.

0 commit comments

Comments
 (0)