summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/location.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-07-15 00:24:50 +0000
committerCarl Hetherington <carl@carlh.net>2010-07-15 00:24:50 +0000
commitebe95f126523f8d7e4a2be03e5ba05d623be54d7 (patch)
tree481f5e78110b464715746a8d8f32775c4d7ab53d /libs/ardour/ardour/location.h
parentdd336bfb8ce17e1c9740a6a0441d1a64030e010b (diff)
Fix setting of loop region start/end at the same time. Fixes #3314.
git-svn-id: svn://localhost/ardour2/branches/3.0@7418 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/location.h')
-rw-r--r--libs/ardour/ardour/location.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/location.h b/libs/ardour/ardour/location.h
index 3f3eaf4fc8..24387cdaef 100644
--- a/libs/ardour/ardour/location.h
+++ b/libs/ardour/ardour/location.h
@@ -80,8 +80,8 @@ class Location : public PBD::StatefulDestructible
nframes64_t end() const { return _end; }
nframes64_t length() const { return _end - _start; }
- int set_start (nframes64_t s);
- int set_end (nframes64_t e);
+ int set_start (nframes64_t s, bool force = false);
+ int set_end (nframes64_t e, bool force = false);
int set (nframes64_t start, nframes64_t end);
int move_to (nframes64_t pos);