comparison main/MainWindow.cpp @ 253:6a6b5a1a6c67

* Speed up spectrogram painting by releasing mutex in FFTDataServer while calculating data prior to writing it, and by adding whole-column value query methods to FFT objects * Add paint cache to Thumbwheel -- repaints of this widget were slowing down the whole spectrogram repaint * More uses of MutexLocker (named and with debug) and more profile points * Make startup much quicker some of the time, with OSC server in place
author Chris Cannam
date Thu, 08 May 2008 14:46:22 +0000
parents f9b086788565
children 6e8ebc86119a
comparison
equal deleted inserted replaced
252:f88cb5bc5142 253:6a6b5a1a6c67
137 m_playControlsWidth(0), 137 m_playControlsWidth(0),
138 m_preferencesDialog(0), 138 m_preferencesDialog(0),
139 m_layerTreeDialog(0), 139 m_layerTreeDialog(0),
140 m_keyReference(new KeyReference()) 140 m_keyReference(new KeyReference())
141 { 141 {
142 Profiler profiler("MainWindow::MainWindow");
143
142 setWindowTitle(tr("Sonic Visualiser")); 144 setWindowTitle(tr("Sonic Visualiser"));
143 145
144 UnitDatabase *udb = UnitDatabase::getInstance(); 146 UnitDatabase *udb = UnitDatabase::getInstance();
145 udb->registerUnit("Hz"); 147 udb->registerUnit("Hz");
146 udb->registerUnit("dB"); 148 udb->registerUnit("dB");