iiwusynth-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iiwusynth-devel] Aligning buffers


From: Anthony Green
Subject: [iiwusynth-devel] Aligning buffers
Date: 05 Jan 2003 06:43:02 -0800

iiwu_synth.c contains the following comment:

  /* Allocate the sample buffers 
   *
   * GCC seems to have a bug with alignment (address must be multiple
   * of 16 bytes.  So we have to align for ourselves...  As soon as
   * GCC aligns reliably, this mess can be cleaned up.
   */

I don't see where the problem is.

By the way, most systems' C libraries will have memalign() or
posix_memalign() functions for allocating memory with specific alignment
requirements.

AG







reply via email to

[Prev in Thread] Current Thread [Next in Thread]