summaryrefslogtreecommitdiff
path: root/libs/ardour/region.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-10-01 11:13:41 +1000
committernick_m <mainsbridge@gmail.com>2016-10-01 11:13:41 +1000
commitbc38f2c48969be068b93525bdbcce6c1ff4e1d7c (patch)
tree68a46c224b949185280ea131615c4b8cabda7537 /libs/ardour/region.cc
parent9bd86c2869fe02eda7ed6094504910356aaac734 (diff)
Region pulse is no longer a property.
Diffstat (limited to 'libs/ardour/region.cc')
-rw-r--r--libs/ardour/region.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc
index 3bd0bd273c..dd561be7b0 100644
--- a/libs/ardour/region.cc
+++ b/libs/ardour/region.cc
@@ -65,7 +65,6 @@ namespace ARDOUR {
PBD::PropertyDescriptor<framecnt_t> length;
PBD::PropertyDescriptor<framepos_t> position;
PBD::PropertyDescriptor<double> beat;
- PBD::PropertyDescriptor<double> pulse;
PBD::PropertyDescriptor<framecnt_t> sync_position;
PBD::PropertyDescriptor<layer_t> layer;
PBD::PropertyDescriptor<framepos_t> ancestral_start;
@@ -118,8 +117,6 @@ Region::make_property_quarks ()
DEBUG_TRACE (DEBUG::Properties, string_compose ("quark for position = %1\n", Properties::position.property_id));
Properties::beat.property_id = g_quark_from_static_string (X_("beat"));
DEBUG_TRACE (DEBUG::Properties, string_compose ("quark for beat = %1\n", Properties::beat.property_id));
- Properties::pulse.property_id = g_quark_from_static_string (X_("pulse"));
- DEBUG_TRACE (DEBUG::Properties, string_compose ("quark for pulse = %1\n", Properties::pulse.property_id));
Properties::sync_position.property_id = g_quark_from_static_string (X_("sync-position"));
DEBUG_TRACE (DEBUG::Properties, string_compose ("quark for sync-position = %1\n", Properties::sync_position.property_id));
Properties::layer.property_id = g_quark_from_static_string (X_("layer"));
@@ -161,7 +158,6 @@ Region::register_properties ()
add_property (_length);
add_property (_position);
add_property (_beat);
- add_property (_pulse);
add_property (_sync_position);
add_property (_ancestral_start);
add_property (_ancestral_length);
@@ -180,8 +176,8 @@ Region::register_properties ()
, _length (Properties::length, (l)) \
, _position (Properties::position, 0) \
, _beat (Properties::beat, 0.0) \
- , _pulse (Properties::pulse, 0.0) \
, _sync_position (Properties::sync_position, (s)) \
+ , _pulse (0.0) \
, _transient_user_start (0) \
, _transient_analysis_start (0) \
, _transient_analysis_end (0) \
@@ -211,8 +207,8 @@ Region::register_properties ()
, _length(Properties::length, other->_length) \
, _position(Properties::position, other->_position) \
, _beat (Properties::beat, other->_beat) \
- , _pulse (Properties::pulse, other->_pulse) \
, _sync_position(Properties::sync_position, other->_sync_position) \
+ , _pulse (other->_pulse) \
, _user_transients (other->_user_transients) \
, _transient_user_start (other->_transient_user_start) \
, _transients (other->_transients) \