Mercurial > hg > audiodb
view ReporterBase.h @ 305:8cec6eb40526
Guard against too-short tracks. Fixes a segfault on attempting to index
the AWAL.frames1.mfcc20.adb with default parameters.
author | mas01cr |
---|---|
date | Tue, 05 Aug 2008 15:34:10 +0000 |
parents | d9a88cfd4ab6 |
children | d3afc91d205d |
line wrap: on
line source
#ifndef __REPORTERBASE_H #define __REPORTERBASE_H class ReporterBase { public: virtual ~ReporterBase(){}; virtual void add_point(unsigned int trackID, unsigned int qpos, unsigned int spos, double dist) = 0; virtual void report(char*,void*) = 0; }; #endif