1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../spiralsynthmodular/gcc41.patch
5 # Copyright (C) 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 diff -Nur SpiralSynthModular-0.1.1-orig/SpiralSound/Sample.h SpiralSynthModular-0.1.1/SpiralSound/Sample.h
18 --- SpiralSynthModular-0.1.1-orig/SpiralSound/Sample.h 2002-07-28 23:18:14.000000000 +0000
19 +++ SpiralSynthModular-0.1.1/SpiralSound/Sample.h 2006-04-01 20:54:24.247417750 +0000
21 void CropTo(int NewLength);
22 bool IsEmpty() const { return m_IsEmpty; }
24 - inline float &Sample::operator[](int i) const
25 + inline float &operator[](int i) const
28 assert(i>=0 && i<m_Length);
32 // Linear interpolated
33 - inline float Sample::operator[](float i) const
34 + inline float operator[](float i) const
42 - inline void Sample::Set(int i, float v)
43 + inline void Set(int i, float v)
51 - inline Sample &Sample::operator=(const Sample &rhs)
52 + inline Sample &operator=(const Sample &rhs)
54 Allocate(rhs.GetLength());
55 memcpy(m_Data,rhs.GetBuffer(),GetLengthInBytes());