Mercurial > hg > sonic-visualiser
comparison transform/PluginTransform.cpp @ 191:1ded52c7f31c
* fix misbehaving apply-to-selection-only checkbox, fix default step size for
frequency domain plugins
author | Chris Cannam |
---|---|
date | Tue, 09 Oct 2007 16:21:59 +0000 |
parents | 21a76c9ed5c3 |
children |
comparison
equal
deleted
inserted
replaced
190:89a41f3d24d1 | 191:1ded52c7f31c |
---|---|
106 if (!stepSize) stepSize = vp->getPreferredStepSize(); | 106 if (!stepSize) stepSize = vp->getPreferredStepSize(); |
107 if (!blockSize) blockSize = vp->getPreferredBlockSize(); | 107 if (!blockSize) blockSize = vp->getPreferredBlockSize(); |
108 if (!blockSize) blockSize = 1024; | 108 if (!blockSize) blockSize = 1024; |
109 if (!stepSize) { | 109 if (!stepSize) { |
110 if (domain == Vamp::Plugin::FrequencyDomain) { | 110 if (domain == Vamp::Plugin::FrequencyDomain) { |
111 // std::cerr << "frequency domain, step = " << blockSize/2 << std::endl; | |
111 stepSize = blockSize/2; | 112 stepSize = blockSize/2; |
112 } else { | 113 } else { |
114 // std::cerr << "time domain, step = " << blockSize/2 << std::endl; | |
113 stepSize = blockSize; | 115 stepSize = blockSize; |
114 } | 116 } |
115 } | 117 } |
116 } | 118 } |
117 } | 119 } |