diff options
author | Carl Hetherington <carl@carlh.net> | 2009-04-29 17:30:35 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-04-29 17:30:35 +0000 |
commit | e41527d5bac8a9369ddbd4f4f48c66f5b662bfc8 (patch) | |
tree | f650457b382ef8921e122dc81ee48aeba6aaf9d9 /libs/ardour/ardour | |
parent | 9e776feac62e7a9609a29fa233f21d5278475a9d (diff) |
Only make record button solid red (and big clock red) when things are actually being recorded (ie when record is in progress and one or more tracks are armed). As per mantis #2604.
git-svn-id: svn://localhost/ardour2/branches/3.0@5012 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/session.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index ce29928468..ce238fbc2e 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -292,6 +292,7 @@ class Session : public PBD::StatefulDestructible, public boost::noncopyable void add_diskstream (boost::shared_ptr<Diskstream>); boost::shared_ptr<Diskstream> diskstream_by_id (const PBD::ID& id); boost::shared_ptr<Diskstream> diskstream_by_name (string name); + bool have_rec_enabled_diskstream () const; bool have_captured() const { return _have_captured; } @@ -1742,6 +1743,9 @@ class Session : public PBD::StatefulDestructible, public boost::noncopyable SessionMetadata * _metadata; mutable bool have_looped; ///< Used in ::audible_frame(*) + + void update_have_rec_enabled_diskstream (); + gint _have_rec_enabled_diskstream; }; } // namespace ARDOUR |