comparison data/model/ReadOnlyWaveFileModel.h @ 1406:09751743647e

Untabify!
author Chris Cannam
date Tue, 07 Mar 2017 13:52:37 +0000
parents 54af1e21705c
children b7042aaecebe
comparison
equal deleted inserted replaced
1405:91231350ee22 1406:09751743647e
91 91
92 class RangeCacheFillThread : public Thread 92 class RangeCacheFillThread : public Thread
93 { 93 {
94 public: 94 public:
95 RangeCacheFillThread(ReadOnlyWaveFileModel &model) : 95 RangeCacheFillThread(ReadOnlyWaveFileModel &model) :
96 m_model(model), m_fillExtent(0), 96 m_model(model), m_fillExtent(0),
97 m_frameCount(model.getFrameCount()) { } 97 m_frameCount(model.getFrameCount()) { }
98 98
99 sv_frame_t getFillExtent() const { return m_fillExtent; } 99 sv_frame_t getFillExtent() const { return m_fillExtent; }
100 virtual void run(); 100 virtual void run();
101 101
102 protected: 102 protected:
103 ReadOnlyWaveFileModel &m_model; 103 ReadOnlyWaveFileModel &m_model;
104 sv_frame_t m_fillExtent; 104 sv_frame_t m_fillExtent;
105 sv_frame_t m_frameCount; 105 sv_frame_t m_frameCount;
106 }; 106 };
107 107
108 void fillCache(); 108 void fillCache();
109 109