We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0372329 commit e345072Copy full SHA for e345072
1 file changed
src/FAudio.c
@@ -2905,7 +2905,7 @@ uint32_t FAudioSourceVoice_FlushSourceBuffers(
2905
if (voice->src.queued_buffer_count > offset)
2906
FAudio_memcpy(voice->src.flush_buffers + voice->src.flush_buffer_count,
2907
voice->src.queued_buffers + offset,
2908
- voice->src.queued_buffer_count - offset);
+ (voice->src.queued_buffer_count - offset) * sizeof(*voice->src.flush_buffers));
2909
voice->src.queued_buffer_count -= offset;
2910
voice->src.flush_buffer_count += offset;
2911
0 commit comments