Diff of /libkwave/src/kwavesignal.h [3a2f0f] .. [c934f0] Maximize Restore

  Switch to side-by-side view

--- a/libkwave/src/kwavesignal.h
+++ b/libkwave/src/kwavesignal.h
@@ -30,11 +30,12 @@
   inline int 	*getSample  ()          {return sample;};
   inline int 	getRate	    ()          {return rate;};
+  inline int 	getBits     ()          {return bits;};
   inline int 	getLength   ()          {return length;};
   inline int 	getLMarker  ()          {return lmarker;};
   inline int 	getRMarker  ()          {return rmarker;};
-  inline int 	*getCounter ()        	{return &counter;};
   inline void 	setRate	    (int rate)  {this->rate=rate;};
+  inline void 	setBits	    (int bits)  {this->bits=bits;};
   int    getChannelMaximum   ();
@@ -80,6 +81,7 @@
   int	 	*sample;               //samples, linear in memory
   int		length;                //number of samples
   int		rate;                  //sampling rate being used
+  int		bits;                  //bits per sample
   int		rmarker,lmarker;       //selection markers
   int           counter;
   int           begin,len;