aboutsummaryrefslogtreecommitdiffstats
path: root/audio/spiralloops/files/patch-SpiralSound_Sample.h
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-07-27 00:51:15 +0800
committermat <mat@FreeBSD.org>2016-07-27 00:51:15 +0800
commit92a23247b1467190ce10007190052c33423ff547 (patch)
tree9b071a8105704e992946dcd6b801e9fcb7635142 /audio/spiralloops/files/patch-SpiralSound_Sample.h
parent95f228514e93df3c298ff9e8142253c866d190fe (diff)
downloadfreebsd-ports-graphics-92a23247b1467190ce10007190052c33423ff547.tar.gz
freebsd-ports-graphics-92a23247b1467190ce10007190052c33423ff547.tar.zst
freebsd-ports-graphics-92a23247b1467190ce10007190052c33423ff547.zip
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
Diffstat (limited to 'audio/spiralloops/files/patch-SpiralSound_Sample.h')
-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 00000000000..0051162e48a
--- /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());