Mercurial > hg > match-vamp
diff src/MatchFeatureFeeder.h @ 63:a540137d393b refactors_no_float
Fix handling of empty queues -- we should continue processing when a queue is empty only if we've reached end of file on both
author | Chris Cannam |
---|---|
date | Tue, 18 Nov 2014 10:03:36 +0000 |
parents | faa523be20f9 |
children | b9aa663a607b |
line wrap: on
line diff
--- a/src/MatchFeatureFeeder.h Fri Nov 14 13:53:58 2014 +0000 +++ b/src/MatchFeatureFeeder.h Tue Nov 18 10:03:36 2014 +0000 @@ -43,6 +43,11 @@ */ void feed(std::vector<double> f1, std::vector<double> f2); + /** + * Indicate that both inputs have come to an end. + */ + void finish(); + Finder *getFinder() { return finder; } protected: