Mercurial > hg > qm-vamp-plugins
diff plugins/SegmenterPlugin.cpp @ 57:ee9d180a5ad6
* reset() implementations
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 31 Jan 2008 10:39:39 +0000 |
parents | df7a0bc46592 |
children | 4a354c18e688 |
line wrap: on
line diff
--- a/plugins/SegmenterPlugin.cpp Thu Jan 31 10:33:35 2008 +0000 +++ b/plugins/SegmenterPlugin.cpp Thu Jan 31 10:39:39 2008 +0000 @@ -96,7 +96,9 @@ void SegmenterPlugin::reset() { - //!!! + // re-make segmenter only if it has already been made; otherwise + // there's nothing to reset + if (segmenter) makeSegmenter(); } size_t