Mercurial > hg > svcore
comparison data/model/AggregateWaveModel.h @ 1040:a1cd5abcb38b cxx11
Introduce and use a samplerate type
author | Chris Cannam |
---|---|
date | Wed, 04 Mar 2015 12:01:04 +0000 |
parents | cc27f35aa75c |
children | 0fd3661bcfff |
comparison
equal
deleted
inserted
replaced
1039:b14064bd1f97 | 1040:a1cd5abcb38b |
---|---|
49 | 49 |
50 const ZoomConstraint *getZoomConstraint() const { return &m_zoomConstraint; } | 50 const ZoomConstraint *getZoomConstraint() const { return &m_zoomConstraint; } |
51 | 51 |
52 sv_frame_t getFrameCount() const; | 52 sv_frame_t getFrameCount() const; |
53 int getChannelCount() const; | 53 int getChannelCount() const; |
54 int getSampleRate() const; | 54 sv_samplerate_t getSampleRate() const; |
55 | 55 |
56 virtual Model *clone() const; | 56 virtual Model *clone() const; |
57 | 57 |
58 float getValueMinimum() const { return -1.0f; } | 58 float getValueMinimum() const { return -1.0f; } |
59 float getValueMaximum() const { return 1.0f; } | 59 float getValueMaximum() const { return 1.0f; } |