comparison data/model/WaveFileModel.h @ 187:89b05b679dc3

* Fixes to update logic in writable wave file model
author Chris Cannam
date Thu, 12 Oct 2006 16:10:49 +0000
parents 0ed2b2e26b44
children 91fdc752e540
comparison
equal deleted inserted replaced
186:06ad01f3e553 187:89b05b679dc3
71 virtual QString toXmlString(QString indent = "", 71 virtual QString toXmlString(QString indent = "",
72 QString extraAttributes = "") const; 72 QString extraAttributes = "") const;
73 73
74 protected slots: 74 protected slots:
75 void fillTimerTimedOut(); 75 void fillTimerTimedOut();
76 void frameCountChanged();
77 void cacheFilled(); 76 void cacheFilled();
78 77
79 protected: 78 protected:
80 void initialize(); 79 void initialize();
81 80
85 RangeCacheFillThread(WaveFileModel &model) : 84 RangeCacheFillThread(WaveFileModel &model) :
86 m_model(model), m_fillExtent(0), 85 m_model(model), m_fillExtent(0),
87 m_frameCount(model.getFrameCount()) { } 86 m_frameCount(model.getFrameCount()) { }
88 87
89 size_t getFillExtent() const { return m_fillExtent; } 88 size_t getFillExtent() const { return m_fillExtent; }
90 void frameCountChanged();
91 virtual void run(); 89 virtual void run();
92 90
93 protected: 91 protected:
94 WaveFileModel &m_model; 92 WaveFileModel &m_model;
95 size_t m_fillExtent; 93 size_t m_fillExtent;