diff options
author | Carl Hetherington <carl@carlh.net> | 2010-10-07 18:33:20 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-10-07 18:33:20 +0000 |
commit | dd7258b29fe46722b1d62560c34c57d62154cb36 (patch) | |
tree | a493c8c99789911a87933ada52c94a5194ec6f5c /libs/ardour/ardour | |
parent | 3b0c5e35411fdb1a22eae54c8c574668b62f9c56 (diff) |
Update auto loop range to match session range until it is changed by the user. Fixes #3472.
git-svn-id: svn://localhost/ardour2/branches/3.0@7883 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/session.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index d10e01d18f..82b5d1360d 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -463,8 +463,8 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi nframes_t convert_to_frames_at (nframes_t position, AnyTime const &); - static PBD::Signal0<void> StartTimeChanged; - static PBD::Signal0<void> EndTimeChanged; + static PBD::Signal1<void, framepos_t> StartTimeChanged; + static PBD::Signal1<void, framepos_t> EndTimeChanged; static PBD::Signal0<void> TimecodeOffsetChanged; std::vector<SyncSource> get_available_sync_options() const; @@ -1442,6 +1442,9 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi mutable gint _suspend_timecode_transmission; void update_locations_after_tempo_map_change (Locations::LocationList &); + + void start_time_changed (framepos_t); + void end_time_changed (framepos_t); }; } // namespace ARDOUR |