Ticket #66 (new defect)

Opened 7 months ago

Last modified 7 months ago

PaUtil_AllocateMemory doc omits value for alignment guarantees

Reported by: rossb Owned by: rossb
Priority: major Milestone: V19-RC1
Component: common Version: 2.0
Keywords: Cc:

Description

The current documentation for PaUtil?_AllocateMemory reads:

Allocate size bytes, guaranteed to be aligned to a FIXME byte boundary <<

We should decide whether we want to make alignment guarantees. Recent discussions re the ringbufer imply that we should at least make some minimal guarantee (such as alignment to sizeof(int)).

It might be better to introduce PaUtil?_AllocateAlignedMemory( size, alignment ) for larger alignments.

see: http://www.portaudio.com/docs/v19-doxydocs/pa__util_8h.html

Change History

Changed 7 months ago by rossb

  • owner changed from somebody to rossb
  • component changed from bindings to common
Note: See TracTickets for help on using tickets.