nRF Connect SDK API 2.8.0
Loading...
Searching...
No Matches
pcm_mix.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
12#ifndef _PCM_MIX_H_
13#define _PCM_MIX_H_
14
15#include <zephyr/kernel.h>
16
31
52int pcm_mix(void *const pcm_a, size_t size_a, void const *const pcm_b, size_t size_b,
53 enum pcm_mix_mode mix_mode);
54
58#endif /* _PCM_MIX_H_ */
int pcm_mix(void *const pcm_a, size_t size_a, void const *const pcm_b, size_t size_b, enum pcm_mix_mode mix_mode)
Mixes two buffers of PCM data.
pcm_mix_mode
Definition pcm_mix.h:24
@ B_MONO_INTO_A_STEREO_L
Definition pcm_mix.h:28
@ B_MONO_INTO_A_MONO
Definition pcm_mix.h:26
@ B_MONO_INTO_A_STEREO_R
Definition pcm_mix.h:29
@ B_MONO_INTO_A_STEREO_LR
Definition pcm_mix.h:27
@ B_STEREO_INTO_A_STEREO
Definition pcm_mix.h:25