Mercurial > hg > svcore
diff 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 |
line wrap: on
line diff
--- a/transform/Transform.h Tue Mar 10 13:22:10 2015 +0000 +++ b/transform/Transform.h Tue Mar 10 17:02:52 2015 +0000 @@ -135,8 +135,8 @@ RealTime getDuration() const; // 0 -> all void setDuration(RealTime d); - float getSampleRate() const; // 0 -> as input - void setSampleRate(float rate); + sv_samplerate_t getSampleRate() const; // 0 -> as input + void setSampleRate(sv_samplerate_t rate); void toXml(QTextStream &stream, QString indent = "", QString extraAttributes = "") const; @@ -194,7 +194,7 @@ WindowType m_windowType; RealTime m_startTime; RealTime m_duration; - float m_sampleRate; + sv_samplerate_t m_sampleRate; }; typedef std::vector<Transform> Transforms;