# HG changeset patch # User Chris Cannam # Date 1223553862 0 # Node ID 325112751f0ed64b413f092ac1ea8153bc044f4b # Parent 3c5252e7cefd0aaf4c05bcad9e8bc183d612934b * Save/load of region models diff -r 3c5252e7cefd -r 325112751f0e data/fft/FFTDataServer.cpp --- a/data/fft/FFTDataServer.cpp Wed Oct 08 15:27:31 2008 +0000 +++ b/data/fft/FFTDataServer.cpp Thu Oct 09 12:04:22 2008 +0000 @@ -27,7 +27,7 @@ #include "base/Profiler.h" #include "base/Thread.h" // for debug mutex locker -//#define DEBUG_FFT_SERVER 1 +#define DEBUG_FFT_SERVER 1 //#define DEBUG_FFT_SERVER_FILL 1 #ifdef DEBUG_FFT_SERVER_FILL diff -r 3c5252e7cefd -r 325112751f0e data/model/NoteModel.h --- a/data/model/NoteModel.h Wed Oct 08 15:27:31 2008 +0000 +++ b/data/model/NoteModel.h Thu Oct 09 12:04:22 2008 +0000 @@ -146,7 +146,7 @@ IntervalModel::toXml (out, indent, - QString("%1 valueQuantization=\"%2\"") + QString("%1 subtype=\"note\" valueQuantization=\"%2\"") .arg(extraAttributes).arg(m_valueQuantization)); } diff -r 3c5252e7cefd -r 325112751f0e data/model/RegionModel.h --- a/data/model/RegionModel.h Wed Oct 08 15:27:31 2008 +0000 +++ b/data/model/RegionModel.h Thu Oct 09 12:04:22 2008 +0000 @@ -132,7 +132,7 @@ IntervalModel::toXml (out, indent, - QString("%1 valueQuantization=\"%2\"") + QString("%1 subtype=\"region\" valueQuantization=\"%2\"") .arg(extraAttributes).arg(m_valueQuantization)); }