projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f00420a
)
OSX fix (no posix_memalign)
author
David Robillard
<d@drobilla.net>
Tue, 1 Aug 2006 03:34:14 +0000
(
03:34
+0000)
committer
David Robillard
<d@drobilla.net>
Tue, 1 Aug 2006 03:34:14 +0000
(
03:34
+0000)
git-svn-id: svn://localhost/ardour2/trunk@729
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/ardour/buffer.h
patch
|
blob
|
history
diff --git
a/libs/ardour/ardour/buffer.h
b/libs/ardour/ardour/buffer.h
index 3fb64455afb5c67d6561495c29e808d708c0f547..3960425526e74f2945aac57adbbfdd0b946419fd 100644
(file)
--- a/
libs/ardour/ardour/buffer.h
+++ b/
libs/ardour/ardour/buffer.h
@@
-119,7
+119,7
@@
public:
{
_size = capacity; // For audio buffers, size = capacity (always)
#ifdef NO_POSIX_MEMALIGN
-
b
= (Sample *) malloc(sizeof(Sample) * capacity);
+
_data
= (Sample *) malloc(sizeof(Sample) * capacity);
#else
posix_memalign((void**)_data, 16, sizeof(Sample) * capacity);
#endif