Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 8c6b0ce1e04f44ae649790223d8d9c3e > files > 4

SpiralSynth-2.0.0-5mdv2007.0.src.rpm

--- SpiralSynth-2.0.0/SpiralSound/Sample.h~	2006-09-12 17:48:10.000000000 -0400
+++ SpiralSynth-2.0.0/SpiralSound/Sample.h	2006-09-12 17:49:49.000000000 -0400
@@ -68,7 +68,7 @@
 	void CropTo(int NewLength);
 	bool IsEmpty() const { return m_IsEmpty; }
 
-	inline float &Sample::operator[](int i) const
+	inline float &operator[](int i) const
 	{		
 		#ifdef DEBUG
 			assert(i>=0 && i<m_Length);
@@ -77,7 +77,7 @@
 	}
 
 	// Linear interpolated
-	inline float Sample::operator[](float i) const
+	inline float operator[](float i) const
 	{		
 		int ii=(int)i;
 		
@@ -91,7 +91,7 @@
 	}
 
 
-	inline void Sample::Set(int i, float v) 
+	inline void Set(int i, float v) 
 	{	
 		m_IsEmpty=false;
 		#ifdef DEBUG
--- SpiralSynth-2.0.0/SpiralSound/Sample.h~	2006-09-12 17:52:14.000000000 -0400
+++ SpiralSynth-2.0.0/SpiralSound/Sample.h	2006-09-12 17:52:44.000000000 -0400
@@ -100,7 +100,7 @@
 		m_Data[i]=v;
 	}	
 	
-	inline Sample &Sample::operator=(const Sample &rhs)
+	inline Sample &operator=(const Sample &rhs)
 	{
 		Allocate(rhs.GetLength());		
 		memcpy(m_Data,rhs.GetBuffer(),GetLengthInBytes());