5010{
5012 if (buf_c != data_c && buf_c <= 2 && data_c <= 6) {
5014 for (i=0; i < buf_c; ++i)
5015 compute_samples(channel_selector[buf_c][i], buffer[i]+b_offset, data_c, data, d_offset, samples);
5016 } else {
5017 int32_t limit = buf_c < data_c ? buf_c : data_c;
5018 for (i=0; i < limit; ++i)
5019 copy_samples(buffer[i]+b_offset, data[i]+d_offset, samples);
5020 for ( ; i < buf_c; ++i)
5021 memset(buffer[i]+b_offset, 0,
sizeof(
short) * samples);
5022 }
5023}
static constexpr int8_t PLAYBACK_LEFT
static constexpr int8_t PLAYBACK_RIGHT
static constexpr int8_t PLAYBACK_MONO
void * memset(void *s, int c, size_t n) FL_NOEXCEPT
static void copy_samples(short *dest, float *src, int32_t len) FL_NOEXCEPT
static void compute_samples(int32_t mask, short *output, int32_t num_c, float **data, int32_t d_offset, int32_t len) FL_NOEXCEPT