1# SPDX-License-Identifier: BSD-3-Clause
2
3cmocka_test(mixer
4	mixer_test.c
5	../module_adapter_test.c
6	${PROJECT_SOURCE_DIR}/test/cmocka/src/notifier_mocks.c
7	${PROJECT_SOURCE_DIR}/src/audio/mixer/mixer.c
8	${PROJECT_SOURCE_DIR}/src/audio/mixer/mixer_generic.c
9	${PROJECT_SOURCE_DIR}/src/audio/mixer/mixer_hifi3.c
10	${PROJECT_SOURCE_DIR}/src/ipc/ipc3/helper.c
11	${PROJECT_SOURCE_DIR}/src/ipc/ipc-common.c
12	${PROJECT_SOURCE_DIR}/src/ipc/ipc-helper.c
13	${PROJECT_SOURCE_DIR}/src/audio/module_adapter/module_adapter.c
14	${PROJECT_SOURCE_DIR}/src/audio/module_adapter/module/generic.c
15	${PROJECT_SOURCE_DIR}/src/audio/buffer.c
16	${PROJECT_SOURCE_DIR}/src/audio/component.c
17	${PROJECT_SOURCE_DIR}/src/audio/pipeline/pipeline-graph.c
18	${PROJECT_SOURCE_DIR}/src/audio/pipeline/pipeline-params.c
19	${PROJECT_SOURCE_DIR}/src/audio/pipeline/pipeline-schedule.c
20	${PROJECT_SOURCE_DIR}/src/audio/pipeline/pipeline-stream.c
21	${PROJECT_SOURCE_DIR}/src/audio/pipeline/pipeline-xrun.c
22	${PROJECT_SOURCE_DIR}/src/math/numbers.c
23)
24target_link_libraries(mixer PRIVATE -lm)
25