Mercurial > hg > tony
comparison src/Analyser.h @ 314:2a2fd6eb8fa8
If user asks to save before initial analysis is complete, wait for it
author | Chris Cannam |
---|---|
date | Fri, 13 Jun 2014 12:12:27 +0100 |
parents | 8eb167e817e7 |
children | ef75afbe4c67 |
comparison
equal
deleted
inserted
replaced
313:eef5c50e7e34 | 314:2a2fd6eb8fa8 |
---|---|
52 void setIntelligentActions(bool); | 52 void setIntelligentActions(bool); |
53 | 53 |
54 bool getDisplayFrequencyExtents(float &min, float &max); | 54 bool getDisplayFrequencyExtents(float &min, float &max); |
55 bool setDisplayFrequencyExtents(float min, float max); | 55 bool setDisplayFrequencyExtents(float min, float max); |
56 | 56 |
57 // Return completion %age for initial analysis -- 100 means it's done | |
58 int getInitialAnalysisCompletion(); | |
59 | |
57 enum Component { | 60 enum Component { |
58 Audio = 0, | 61 Audio = 0, |
59 PitchTrack = 1, | 62 PitchTrack = 1, |
60 Notes = 2, | 63 Notes = 2, |
61 Spectrogram = 3, | 64 Spectrogram = 3, |
201 return m_layers[type]; | 204 return m_layers[type]; |
202 } | 205 } |
203 | 206 |
204 signals: | 207 signals: |
205 void layersChanged(); | 208 void layersChanged(); |
209 void initialAnalysisCompleted(); | |
206 | 210 |
207 protected slots: | 211 protected slots: |
208 void layerAboutToBeDeleted(Layer *); | 212 void layerAboutToBeDeleted(Layer *); |
213 void layerCompletionChanged(); | |
209 | 214 |
210 protected: | 215 protected: |
211 Document *m_document; | 216 Document *m_document; |
212 WaveFileModel *m_fileModel; | 217 WaveFileModel *m_fileModel; |
213 PaneStack *m_paneStack; | 218 PaneStack *m_paneStack; |