Commit 71d46676 authored by David Reid's avatar David Reid

Fix an unaligned access error.

Public issue https://github.com/mackron/miniaudio/issues/499
parent fee921e8
...@@ -49211,7 +49211,7 @@ static ma_result ma_linear_resampler_get_heap_layout(const ma_linear_resampler_c ...@@ -49211,7 +49211,7 @@ static ma_result ma_linear_resampler_get_heap_layout(const ma_linear_resampler_c
} }
/* LPF */ /* LPF */
pHeapLayout->lpfOffset = pHeapLayout->sizeInBytes; pHeapLayout->lpfOffset = ma_align_64(pHeapLayout->sizeInBytes);
{ {
ma_result result; ma_result result;
size_t lpfHeapSizeInBytes; size_t lpfHeapSizeInBytes;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment