nRF Connect SDK API 2.8.99
|
int pscm_copy_pad | ( | void const *const | input, |
size_t | input_size, | ||
uint8_t | pcm_bit_depth, | ||
void * | output, | ||
size_t * | output_size ) |
#include <include/pcm_stream_channel_modifier.h>
Adds a copy of every sample from *input and writes it to both channels in *output.
[in] | input | Pointer to the input buffer. |
[in] | input_size | Number of bytes in input. |
[in] | pcm_bit_depth | Bit depth of PCM samples (16, 24, or 32). |
[out] | output | Pointer to the output buffer. |
[out] | output_size | Number of bytes written to output. |