merge 3578:4901 of thirdparty/rubberband/current
git-svn-id: svn://localhost/ardour2/branches/3.0@4982 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -109,7 +109,7 @@ float *allocFloat(float *ptr, int count)
|
||||
void *allocated;
|
||||
#ifndef _WIN32
|
||||
#ifndef __APPLE__
|
||||
if (!posix_memalign(&allocated, 16, count * sizeof(float)))
|
||||
if (posix_memalign(&allocated, 16, count * sizeof(float)))
|
||||
#endif
|
||||
#endif
|
||||
allocated = malloc(count * sizeof(float));
|
||||
@@ -133,7 +133,7 @@ double *allocDouble(double *ptr, int count)
|
||||
void *allocated;
|
||||
#ifndef _WIN32
|
||||
#ifndef __APPLE__
|
||||
if (!posix_memalign(&allocated, 16, count * sizeof(double)))
|
||||
if (posix_memalign(&allocated, 16, count * sizeof(double)))
|
||||
#endif
|
||||
#endif
|
||||
allocated = malloc(count * sizeof(double));
|
||||
|
||||
Reference in New Issue
Block a user