From: Michael Opdenacker
I'm trying to apply the change suggested on
https://lists.xiph.org/pipermail/flac-dev/2025-February/006698.html
The main idea is to replace "modules.html" by "topics.html".
However, with this change, I always get
index.html: A good starting point for learning the API is
Hi,
Please explain why you need aligned buffers.
Kind regards, Martijn van Beurden
Op zo 16 mrt 2025 om 01:36 schreef Stefan Oltmanns :
>
> Hello,
>
> I want to process the output from libflac with SSE/AVX. Unfortunately it
> seems that libflac always allocates the output buffer itself and there
Hi,
Would it be possible to provide this patch as a Github PR?
Op zo 16 mrt 2025 om 18:16 schreef :
>
> From: Michael Opdenacker
>
> I'm trying to apply the change suggested on
> https://lists.xiph.org/pipermail/flac-dev/2025-February/006698.html
>
> The main idea is to replace "modules.html" by
I believe that the SSE/AVX hardware engine only works with aligned buffers.
That said, I also believe that macOS already aligns buffers, even with simple
malloc(), although I might be wrong. At the very least, there is surely a
CoreAudio memory allocation function that aligns buffers for audio,
Hi,
yes, SSE requires aligned buffers for operations that directly read an
operand from memory, AVX is more relaxed, but is supposed to be faster
with aligned data.
I'm not sure if macOS automatically aligns buffers with malloc, but
since C11 there is aligned_alloc, that works fine on Linux/macO