diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
commit | 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch) | |
tree | 9b071a8105704e992946dcd6b801e9fcb7635142 /audio/spiralloops/files/patch-SpiralSound_Sample.h | |
parent | MooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff) |
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.h | 27 |
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()); |