mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-28 17:37:41 +01:00
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:
parent
c2b12f05f4
commit
1ff9e8afc0
20 changed files with 125 additions and 18 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue