comparison data/model/WaveFileModel.h @ 948:6d2ece0fe356

Small fixes: avoid static etc
author Chris Cannam
date Thu, 17 Jul 2014 16:22:54 +0100
parents 59e7fe1b1003
children 36f79bc5c3d7
comparison
equal deleted inserted replaced
947:cd42620e3f40 948:6d2ece0fe356
61 virtual int getEndFrame() const { return m_startFrame + getFrameCount(); } 61 virtual int getEndFrame() const { return m_startFrame + getFrameCount(); }
62 62
63 void setStartFrame(int startFrame) { m_startFrame = startFrame; } 63 void setStartFrame(int startFrame) { m_startFrame = startFrame; }
64 64
65 virtual int getData(int channel, int start, int count, 65 virtual int getData(int channel, int start, int count,
66 float *buffer) const; 66 float *buffer) const;
67 67
68 virtual int getData(int channel, int start, int count, 68 virtual int getData(int channel, int start, int count,
69 double *buffer) const; 69 double *buffer) const;
70 70
71 virtual int getData(int fromchannel, int tochannel, 71 virtual int getData(int fromchannel, int tochannel,
72 int start, int count, 72 int start, int count,
73 float **buffers) const; 73 float **buffers) const;
74 74
75 virtual int getSummaryBlockSize(int desired) const; 75 virtual int getSummaryBlockSize(int desired) const;
76 76
77 virtual void getSummaries(int channel, int start, int count, 77 virtual void getSummaries(int channel, int start, int count,
78 RangeBlock &ranges, 78 RangeBlock &ranges,