Mercurial > hg > svcore
comparison data/model/WaveFileModel.h @ 383:94fc0591ea43 1.2-stable
* merge from trunk (1.2 ended up being tracked from trunk, but we may want
this branch for fixes later)
author | Chris Cannam |
---|---|
date | Wed, 27 Feb 2008 10:32:45 +0000 |
parents | 700cd3350391 |
children |
comparison
equal
deleted
inserted
replaced
349:f39d33b0b265 | 383:94fc0591ea43 |
---|---|
66 float *buffer) const; | 66 float *buffer) const; |
67 | 67 |
68 virtual size_t getData(int channel, size_t start, size_t count, | 68 virtual size_t getData(int channel, size_t start, size_t count, |
69 double *buffer) const; | 69 double *buffer) const; |
70 | 70 |
71 virtual size_t getData(size_t fromchannel, size_t tochannel, | |
72 size_t start, size_t count, | |
73 float **buffers) const; | |
74 | |
75 virtual size_t getSummaryBlockSize(size_t desired) const; | |
76 | |
71 virtual void getSummaries(size_t channel, size_t start, size_t count, | 77 virtual void getSummaries(size_t channel, size_t start, size_t count, |
72 RangeBlock &ranges, | 78 RangeBlock &ranges, |
73 size_t &blockSize) const; | 79 size_t &blockSize) const; |
74 | 80 |
75 virtual Range getSummary(size_t channel, size_t start, size_t count) const; | 81 virtual Range getSummary(size_t channel, size_t start, size_t count) const; |
122 RangeCacheFillThread *m_fillThread; | 128 RangeCacheFillThread *m_fillThread; |
123 QTimer *m_updateTimer; | 129 QTimer *m_updateTimer; |
124 size_t m_lastFillExtent; | 130 size_t m_lastFillExtent; |
125 bool m_exiting; | 131 bool m_exiting; |
126 static PowerOfSqrtTwoZoomConstraint m_zoomConstraint; | 132 static PowerOfSqrtTwoZoomConstraint m_zoomConstraint; |
133 | |
134 mutable SampleBlock m_directRead; | |
135 mutable size_t m_lastDirectReadStart; | |
136 mutable size_t m_lastDirectReadCount; | |
137 mutable QMutex m_directReadMutex; | |
127 }; | 138 }; |
128 | 139 |
129 #endif | 140 #endif |