Mercurial > hg > svcore
diff data/model/SparseTimeValueModel.h @ 256:9c85517ff0f5
* Fix #1706927 NaNs from plugin outputs should not be used
author | Chris Cannam |
---|---|
date | Fri, 27 Apr 2007 15:39:48 +0000 |
parents | 4b2ea82fd0ed |
children | 70a232b1f12a |
line wrap: on
line diff
--- a/data/model/SparseTimeValueModel.h Thu Apr 19 15:19:51 2007 +0000 +++ b/data/model/SparseTimeValueModel.h Fri Apr 27 15:39:48 2007 +0000 @@ -77,6 +77,14 @@ { public: SparseTimeValueModel(size_t sampleRate, size_t resolution, + bool notifyOnAdd = true) : + SparseValueModel<TimeValuePoint>(sampleRate, resolution, + notifyOnAdd) + { + PlayParameterRepository::getInstance()->addModel(this); + } + + SparseTimeValueModel(size_t sampleRate, size_t resolution, float valueMinimum, float valueMaximum, bool notifyOnAdd = true) : SparseValueModel<TimeValuePoint>(sampleRate, resolution,