Mercurial > hg > svcore
comparison transform/Transform.h @ 1047:26cf6d5251ec cxx11
Further dedicated-types fixes
author | Chris Cannam |
---|---|
date | Tue, 10 Mar 2015 17:02:52 +0000 |
parents | 06579b8ffb7b |
children | a2dbedc0cfee |
comparison
equal
deleted
inserted
replaced
1046:2f49be7d4264 | 1047:26cf6d5251ec |
---|---|
133 void setStartTime(RealTime t); | 133 void setStartTime(RealTime t); |
134 | 134 |
135 RealTime getDuration() const; // 0 -> all | 135 RealTime getDuration() const; // 0 -> all |
136 void setDuration(RealTime d); | 136 void setDuration(RealTime d); |
137 | 137 |
138 float getSampleRate() const; // 0 -> as input | 138 sv_samplerate_t getSampleRate() const; // 0 -> as input |
139 void setSampleRate(float rate); | 139 void setSampleRate(sv_samplerate_t rate); |
140 | 140 |
141 void toXml(QTextStream &stream, QString indent = "", | 141 void toXml(QTextStream &stream, QString indent = "", |
142 QString extraAttributes = "") const; | 142 QString extraAttributes = "") const; |
143 | 143 |
144 /** | 144 /** |
192 int m_stepSize; | 192 int m_stepSize; |
193 int m_blockSize; | 193 int m_blockSize; |
194 WindowType m_windowType; | 194 WindowType m_windowType; |
195 RealTime m_startTime; | 195 RealTime m_startTime; |
196 RealTime m_duration; | 196 RealTime m_duration; |
197 float m_sampleRate; | 197 sv_samplerate_t m_sampleRate; |
198 }; | 198 }; |
199 | 199 |
200 typedef std::vector<Transform> Transforms; | 200 typedef std::vector<Transform> Transforms; |
201 | 201 |
202 #endif | 202 #endif |