comparison main/MainWindow.cpp @ 41:fbd7a497fd89

* Audition effects plugins during playback
author Chris Cannam
date Wed, 04 Oct 2006 11:01:39 +0000
parents f18093617b78
children c0ae41c72421
comparison
equal deleted inserted replaced
40:75c5951cf9d7 41:fbd7a497fd89
2962 // supposed to be configurable, because we need to let the user 2962 // supposed to be configurable, because we need to let the user
2963 // change the execution context (block size etc). 2963 // change the execution context (block size etc).
2964 2964
2965 PluginTransform::ExecutionContext context(channel); 2965 PluginTransform::ExecutionContext context(channel);
2966 2966
2967 bool ok = 2967 bool ok = factory->getConfigurationForTransform(transform,
2968 factory->getConfigurationForTransform 2968 m_document->getMainModel(),
2969 (transform, m_document->getMainModel(), context, configurationXml); 2969 context,
2970 configurationXml,
2971 m_playSource);
2970 if (!ok) return; 2972 if (!ok) return;
2971 2973
2972 Layer *newLayer = m_document->createDerivedLayer(transform, 2974 Layer *newLayer = m_document->createDerivedLayer(transform,
2973 m_document->getMainModel(), 2975 m_document->getMainModel(),
2974 context, 2976 context,