summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/region.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-06-16 14:58:33 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-06-16 14:58:33 +0000
commit86f24d20e1616ffaafc97de65db49fd6a91270f8 (patch)
tree17f4ac15f4ec6124e82482624f57ed2ceb8f81ca /libs/ardour/ardour/region.h
parent9c8ee46c764f036707f45ebfa8f6696a9a6e56c6 (diff)
first pass (ok, third really) at internal send+return - audio routing inside ardour without JACK. lots still to do, but at least the obvious works
git-svn-id: svn://localhost/ardour2/branches/3.0@5202 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/region.h')
-rw-r--r--libs/ardour/ardour/region.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/ardour/region.h b/libs/ardour/ardour/region.h
index aa768e269f..d2cc252d61 100644
--- a/libs/ardour/ardour/region.h
+++ b/libs/ardour/ardour/region.h
@@ -74,7 +74,7 @@ class Region
LeftOfSplit = 0x4000,
RightOfSplit = 0x8000,
Hidden = 0x10000,
- DoNotSaveState = 0x20000,
+ DoNotSendPropertyChanges = 0x20000,
PositionLocked = 0x40000,
//
range_guarantoor = USHRT_MAX
@@ -97,6 +97,8 @@ class Region
sigc::signal<void,Change> StateChanged;
static sigc::signal<void,boost::shared_ptr<ARDOUR::Region> > RegionPropertyChanged;
+ void unlock_property_changes () { _flags = Flag (_flags & ~DoNotSendPropertyChanges); }
+ void block_property_changes () { _flags = Flag (_flags | DoNotSendPropertyChanges); }
virtual ~Region();
@@ -160,8 +162,6 @@ class Region
void set_position_lock_style (PositionLockStyle ps);
void recompute_position_from_lock_style ();
- virtual bool should_save_state () const { return !(_flags & DoNotSaveState); };
-
void freeze ();
void thaw (const std::string& why);