> From: "Mathew Hendry" <[EMAIL PROTECTED]> > > Faking a more strict alignment isn't difficult, though - allocate a larger > buffer (data size + alignment - 1) and offset your data within it (base > address % alignment). Make that allocation_size = data_size + alignment - 1; modulo = base_address % alignment; aligned_address = base_address + (modulo != 0 ? alignment - modulo : 0); -- Mat. -- MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )
