Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > af8b1c4beb4fb9831e04088109adf34c > files > 7

spiralsynthmodular-0.2.2a-8mdv2010.1.src.rpm

--- ./SpiralSound/Sample.h.tv	2007-08-27 23:04:04.000000000 +0200
+++ ./SpiralSound/Sample.h	2007-08-27 23:04:20.000000000 +0200
@@ -68,7 +68,7 @@ public:
 	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 @@ public:
 	}
 
 	// Linear interpolated
-	inline float Sample::operator[](float i) const
+	inline float operator[](float i) const
 	{
 		int ii=(int)i;
 
@@ -91,7 +91,7 @@ public:
 	}
 
 
-	inline void Sample::Set(int i, float v)
+	inline void Set(int i, float v)
 	{
 		m_IsEmpty=false;
 		#ifdef DEBUG
@@ -100,7 +100,7 @@ public:
 		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());