update qm-dsp library
[ardour.git] / libs / qm-dsp / dsp / signalconditioning / Filter.h
index b1c20d506aaaf9e55efb043ce5537c0ab85de015..9f25945fc1a7baac6ca8881cedfec029d584d532 100644 (file)
 #define NULL 0
 #endif
 
+/**
+ * Filter specification. For a filter of order ord, the ACoeffs and
+ * BCoeffs arrays must point to ord+1 values each. ACoeffs provides
+ * the denominator and BCoeffs the numerator coefficients of the
+ * filter.
+ */
 struct FilterConfig{
     unsigned int ord;
     double* ACoeffs;
     double* BCoeffs;
 };
 
-class Filter
+/**
+ * Digital filter specified through FilterConfig structure.
+ */
+class Filter  
 {
 public:
     Filter( FilterConfig Config );
@@ -36,7 +45,6 @@ public:
 
     void process( double *src, double *dst, unsigned int length );
 
-
 private:
     void initialise( FilterConfig Config );
     void deInitialise();