Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/audio/mixin_mixout/mixin_mixout_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ static void normal_mix_channel_s16(struct audio_stream __sparse_cache *sink, int
nmax = audio_stream_samples_without_wrap_s16(sink, dst);
n = MIN(n, nmax);
memcpy_s(dst, n * sizeof(int16_t), src, n * sizeof(int16_t));
dst += n;
src += n;
}
}

Expand Down Expand Up @@ -196,6 +198,8 @@ static void normal_mix_channel_s24(struct audio_stream __sparse_cache *sink, int
nmax = audio_stream_samples_without_wrap_s24(sink, dst);
n = MIN(n, nmax);
memcpy_s(dst, n * sizeof(int32_t), src, n * sizeof(int32_t));
dst += n;
src += n;
}
}

Expand Down Expand Up @@ -306,6 +310,8 @@ static void normal_mix_channel_s32(struct audio_stream __sparse_cache *sink, int
nmax = audio_stream_samples_without_wrap_s32(sink, dst);
n = MIN(n, nmax);
memcpy_s(dst, n * sizeof(int32_t), src, n * sizeof(int32_t));
dst += n;
src += n;
}
}

Expand Down