comparison framework/Document.cpp @ 81:0948bf800422

* More latency for PortAudio output * ...
author Chris Cannam
date Thu, 24 Jan 2008 22:49:19 +0000
parents b1a68403714b
children c60bf8995166
comparison
equal deleted inserted replaced
80:448ff6e34b99 81:0948bf800422
34 // For alignment: 34 // For alignment:
35 #include "data/model/AggregateWaveModel.h" 35 #include "data/model/AggregateWaveModel.h"
36 #include "data/model/SparseTimeValueModel.h" 36 #include "data/model/SparseTimeValueModel.h"
37 #include "data/model/AlignmentModel.h" 37 #include "data/model/AlignmentModel.h"
38 38
39 #define DEBUG_DOCUMENT 1 39 //#define DEBUG_DOCUMENT 1
40 40
41 //!!! still need to handle command history, documentRestored/documentModified 41 //!!! still need to handle command history, documentRestored/documentModified
42 42
43 Document::Document() : 43 Document::Document() :
44 m_mainModel(0), 44 m_mainModel(0),
791 (id, aggregate->getSampleRate()); 791 (id, aggregate->getSampleRate());
792 792
793 transform.setStepSize(transform.getBlockSize()/2); 793 transform.setStepSize(transform.getBlockSize()/2);
794 transform.setParameter("serialise", 1); 794 transform.setParameter("serialise", 1);
795 795
796 std::cerr << "Document::alignModel: Alignment transform step size " << transform.getStepSize() << ", block size " << transform.getBlockSize() << std::endl;
797
796 //!!! QString args = "<plugin param-serialise=\"1\"/>"; 798 //!!! QString args = "<plugin param-serialise=\"1\"/>";
797 // Model *transformOutput = factory->transform(id, aggregate, context, args); 799 // Model *transformOutput = factory->transform(id, aggregate, context, args);
798 800
799 ModelTransformerFactory *mtf = ModelTransformerFactory::getInstance(); 801 ModelTransformerFactory *mtf = ModelTransformerFactory::getInstance();
800 802