Mercurial > hg > svcore
comparison data/model/AlignmentModel.cpp @ 1040:a1cd5abcb38b cxx11
Introduce and use a samplerate type
author | Chris Cannam |
---|---|
date | Wed, 04 Mar 2015 12:01:04 +0000 |
parents | cc27f35aa75c |
children | 2f49be7d4264 |
comparison
equal
deleted
inserted
replaced
1039:b14064bd1f97 | 1040:a1cd5abcb38b |
---|---|
88 sv_frame_t a = m_reference->getEndFrame(); | 88 sv_frame_t a = m_reference->getEndFrame(); |
89 sv_frame_t b = m_aligned->getEndFrame(); | 89 sv_frame_t b = m_aligned->getEndFrame(); |
90 return std::max(a, b); | 90 return std::max(a, b); |
91 } | 91 } |
92 | 92 |
93 int | 93 sv_samplerate_t |
94 AlignmentModel::getSampleRate() const | 94 AlignmentModel::getSampleRate() const |
95 { | 95 { |
96 return m_reference->getSampleRate(); | 96 return m_reference->getSampleRate(); |
97 } | 97 } |
98 | 98 |