@Paul:
Wow that was fast.
Maybe it would be good to add a corresponding attribute to DMAMEM. However, this may also waste memory when DMAMEM is used for other things. You could add another #define with a smaller alignment. Technically it makes sense - just wondering if all users still understand.
But you can also specify in the linker script that the single elements are aligned, I think.
I'll check this afternoon if the audio library uses 32-Byte alignment everywhere.
Edit: On the other hand, all audio-buffers are mutiple 32-byte size, so for audio, everything should be ok, anyway..
Wow that was fast.
Maybe it would be good to add a corresponding attribute to DMAMEM. However, this may also waste memory when DMAMEM is used for other things. You could add another #define with a smaller alignment. Technically it makes sense - just wondering if all users still understand.
But you can also specify in the linker script that the single elements are aligned, I think.
I'll check this afternoon if the audio library uses 32-Byte alignment everywhere.
Edit: On the other hand, all audio-buffers are mutiple 32-byte size, so for audio, everything should be ok, anyway..