view accumulator.h @ 697:2741bbda39d7

actually implement the sampling functionality requested The -f flag at the audioDB command line when sampling causes a datum x db sampling to occur, using the feature file's information. At present, no support for thresholding based on power or duration information.
author mas01cr
date Thu, 22 Apr 2010 21:04:10 +0000
parents 342822c2d49a
children
line wrap: on
line source
#ifndef ACCUMULATOR_H
#define ACCUMULATOR_H

class Accumulator {
public:
  virtual ~Accumulator() {};
  virtual void add_point(adb_result_t *r) = 0;
  virtual adb_query_results_t *get_points() = 0;
};

#endif