1 --- libspiralcore-1.0.0rc1/SConstruct.orig 2008-06-19 20:47:14.748765486 -0300
2 +++ libspiralcore-1.0.0rc1/SConstruct 2008-06-19 20:47:14.748765486 -0300
4 Target = "libspiralcore.so"
5 -Install = "/usr/local/lib"
6 -IncInstall = "/usr/local/include/spiralcore"
7 -LibPaths = Split("/usr/local/lib")
8 -IncludePaths = Split("./include /usr/local/include")
10 +prefix = "/usr/local"
11 +if ARGUMENTS.get('prefix', 0):
12 + prefix = ARGUMENTS.get('prefix', 0)
13 +Install = prefix+"/lib"
14 +IncInstall = prefix+"/include/spiralcore"
15 +LibPaths = Split(prefix+"/lib")
16 +IncludePaths = Split("./include "+prefix+"/include")
20 Libs = Split("sndfile jack lo m")
22 Source = Split("src/ChannelHandler.cpp \
23 --- libspiralcore-1.0.0rc1/include/JackClient.h.orig 2008-06-19 20:47:14.145431926 -0300
24 +++ libspiralcore-1.0.0rc1/include/JackClient.h 2008-06-19 20:47:14.145431926 -0300
29 - JackPort::JackPort() :
31 Connected(false),Buf(NULL),Port(NULL) {}
34 --- libspiralcore-1.0.0rc1/include/Sample.h.orig 2008-06-19 20:47:14.145431926 -0300
35 +++ libspiralcore-1.0.0rc1/include/Sample.h 2008-06-19 20:47:14.145431926 -0300
37 void Shrink(int Length);
38 void CropTo(int NewLength);
40 - inline AudioType &Sample::operator[](unsigned int i) const
41 + inline AudioType &operator[](unsigned int i) const
44 assert(i>=0 && i<m_Length);
49 - inline AudioType &Sample::operator[](int i) const
50 + inline AudioType &operator[](int i) const
52 //return (*this)[(int)i];
56 // Linear interpolated
57 - inline AudioType Sample::operator[](float i) const
58 + inline AudioType operator[](float i) const
66 - inline void Sample::Set(int i, AudioType v)
67 + inline void Set(int i, AudioType v)
70 assert(i>=0 && i<m_Length);
75 - inline Sample &Sample::operator=(const Sample &rhs)
76 + inline Sample &operator=(const Sample &rhs)
78 if (GetLength()!=rhs.GetLength()) Allocate(rhs.GetLength());
79 memcpy(m_Data,rhs.GetBuffer(),GetLengthInBytes());
80 --- libspiralcore-1.0.0rc1/src/ChannelHandler.cpp.orig 2008-06-19 20:47:14.639396206 -0300
81 +++ libspiralcore-1.0.0rc1/src/ChannelHandler.cpp 2008-06-19 20:47:14.639396206 -0300
84 #include "ChannelHandler.h"
90 using namespace spiralcore;
91 --- libspiralcore-1.0.0rc1/src/JackClient.cpp.orig 2008-06-19 20:47:14.639396206 -0300
92 +++ libspiralcore-1.0.0rc1/src/JackClient.cpp 2008-06-19 20:47:14.639396206 -0300
99 #include "JackClient.h"
101 --- libspiralcore-1.0.0rc1/src/Tuna.cpp.orig 2008-06-19 20:47:14.663394252 -0300
102 +++ libspiralcore-1.0.0rc1/src/Tuna.cpp 2008-06-19 20:47:14.663394252 -0300
110 static const float MAX_LUT_FREQ = 24000.0; // (maximum audible freq (apparently))
111 --- libspiralcore-1.0.0rc1/src/OSCServer.cpp.orig 2008-06-19 20:47:14.663394252 -0300
112 +++ libspiralcore-1.0.0rc1/src/OSCServer.cpp 2008-06-19 20:47:14.663394252 -0300
119 #include "OSCServer.h"