summaryrefslogtreecommitdiff
path: root/audio/spiralloops
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2006-12-22 17:46:36 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2006-12-22 17:46:36 +0000
commitc12ed948eb7ac67f30e057e3afcd268c14fb3d06 (patch)
tree21bd3808e9a944bd7fbc67b1975d779d211851d0 /audio/spiralloops
parent- Add more voices. (diff)
Fix build with gcc41
Notes
Notes: svn path=/head/; revision=180514
Diffstat (limited to 'audio/spiralloops')
-rw-r--r--audio/spiralloops/files/patch-SpiralSound-Sample.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/audio/spiralloops/files/patch-SpiralSound-Sample.h b/audio/spiralloops/files/patch-SpiralSound-Sample.h
new file mode 100644
index 000000000000..0051162e48a4
--- /dev/null
+++ b/audio/spiralloops/files/patch-SpiralSound-Sample.h
@@ -0,0 +1,27 @@
+--- SpiralSound/Sample.h.orig Fri Dec 22 18:39:01 2006
++++ SpiralSound/Sample.h Fri Dec 22 18:39:30 2006
+@@ -63,13 +63,13 @@
+ void Shrink(int Length);
+ void CropTo(int NewLength);
+
+- inline short &Sample::operator[](int i) const
++ inline short &operator[](int i) const
+ {
+ assert(i>=0 && i<m_Length);
+ return m_Data[i];
+ }
+
+- inline void Sample::Set(int i, long int v)
++ inline void Set(int i, long int v)
+ {
+ assert(i>=0 && i<m_Length);
+ // clip
+@@ -79,7 +79,7 @@
+ m_Data[i]=(short)v;
+ }
+
+- inline Sample &Sample::operator=(const Sample &rhs)
++ inline Sample &operator=(const Sample &rhs)
+ {
+ Allocate(rhs.GetLength());
+ memcpy(m_Data,rhs.GetBuffer(),GetLengthInBytes());