Mercurial > hg > svapp
comparison framework/Document.cpp @ 536:36aa947ec962 3.0-integration
Debug output improvements, and make the checker actually attempt to call the descriptor function for known plugin types
author | Chris Cannam |
---|---|
date | Wed, 16 Nov 2016 16:12:42 +0000 |
parents | 74d575708e06 |
children | d122d3595a32 |
comparison
equal
deleted
inserted
replaced
535:47db3b8f4063 | 536:36aa947ec962 |
---|---|
738 // contains a warning about this; that doesn't concern us | 738 // contains a warning about this; that doesn't concern us |
739 // here, but we do need to ensure that the transform we | 739 // here, but we do need to ensure that the transform we |
740 // remember is correct for what was actually applied, with the | 740 // remember is correct for what was actually applied, with the |
741 // current plugin version. | 741 // current plugin version. |
742 | 742 |
743 //!!! would be nice to short-circuit this -- the version is | |
744 //!!! static data, shouldn't have to construct a plugin for it | |
745 //!!! (which may be expensive in Piper-world) | |
746 | |
743 Transform applied = transforms[j]; | 747 Transform applied = transforms[j]; |
744 applied.setPluginVersion | 748 applied.setPluginVersion |
745 (TransformFactory::getInstance()-> | 749 (TransformFactory::getInstance()-> |
746 getDefaultTransformFor(applied.getIdentifier(), | 750 getDefaultTransformFor(applied.getIdentifier(), |
747 applied.getSampleRate()) | 751 applied.getSampleRate()) |