comparison plugin/transform/FeatureExtractionModelTransformer.cpp @ 334:aa8dbac62024

* Pass StorageAdviser::Criteria into FFTModel constructor etc
author Chris Cannam
date Sun, 11 Nov 2007 20:31:12 +0000
parents 1afaf98dbf11
children 516819f2b97b 6f6ab834449d
comparison
equal deleted inserted replaced
333:1afaf98dbf11 334:aa8dbac62024
281 channelCount == 1 ? m_context.channel : ch, 281 channelCount == 1 ? m_context.channel : ch,
282 m_context.windowType, 282 m_context.windowType,
283 m_context.blockSize, 283 m_context.blockSize,
284 m_context.stepSize, 284 m_context.stepSize,
285 m_context.blockSize, 285 m_context.blockSize,
286 false); 286 false,
287 StorageAdviser::PrecisionCritical);
287 if (!model->isOK()) { 288 if (!model->isOK()) {
288 QMessageBox::critical 289 QMessageBox::critical
289 (0, tr("FFT cache failed"), 290 (0, tr("FFT cache failed"),
290 tr("Failed to create the FFT model for this transform.\n" 291 tr("Failed to create the FFT model for this transform.\n"
291 "There may be insufficient memory or disc space to continue.")); 292 "There may be insufficient memory or disc space to continue."));