diff options
author | Robin Gareus <robin@gareus.org> | 2016-03-11 17:23:39 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-03-11 17:26:42 +0100 |
commit | 43603a98935b00f5cbf4082e15da19d2ba4ee9b5 (patch) | |
tree | 7ad0ec983b50fe72f302a31a575797297dff7373 /libs/ardour/ardour/types.h | |
parent | bd519627d1d834d57b3ad022e1d5bf6ca12c888a (diff) |
prepare region/range loudness analysis
Diffstat (limited to 'libs/ardour/ardour/types.h')
-rw-r--r-- | libs/ardour/ardour/types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/types.h b/libs/ardour/ardour/types.h index 97dba38d71..8c47666873 100644 --- a/libs/ardour/ardour/types.h +++ b/libs/ardour/ardour/types.h @@ -318,7 +318,7 @@ namespace ARDOUR { AudioRange (framepos_t s, framepos_t e, uint32_t i) : start (s), end (e) , id (i) {} - framecnt_t length() { return end - start + 1; } + framecnt_t length() const { return end - start + 1; } bool operator== (const AudioRange& other) const { return start == other.start && end == other.end && id == other.id; |