Mercurial > hg > audiodb
diff audioDB.cpp @ 675:c62041316a44
First implementation of separate query / instance hopsizes
Builds and passes tests. Bindings not yet adjusted, and of course there are
no existing tests of hopsize functionality anyway.
author | mas01cr |
---|---|
date | Fri, 05 Mar 2010 16:01:06 +0000 |
parents | a35ca2d5f238 |
children | b1723ae7675e |
line wrap: on
line diff
--- a/audioDB.cpp Fri Mar 05 16:01:02 2010 +0000 +++ b/audioDB.cpp Fri Mar 05 16:01:06 2010 +0000 @@ -833,9 +833,9 @@ qspec.refine.flags |= ADB_REFINE_DURATION_RATIO; qspec.refine.duration_ratio = timesTol; } - /* FIXME: not sure about this any more; maybe it belongs in - query_id? Or maybe we just don't need a flag for it? */ - qspec.refine.hopsize = sequenceHop; + + qspec.refine.qhopsize = sequenceHop; + qspec.refine.ihopsize = sequenceHop; if(sequenceHop != 1) { qspec.refine.flags |= ADB_REFINE_HOP_SIZE; }