diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-07-01 13:36:50 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-07-01 13:36:50 +0000 |
commit | 0d6515a24349be9add8d3919d4c6c4d509bac687 (patch) | |
tree | eca75aee7588424eddd30b558098321acf686c65 /libs/ardour/ardour/session.h | |
parent | 4df4574be472b599e149af2ef161ed505088e71a (diff) |
separate solo & listen. some minor fixes and additional related fixes still to come
git-svn-id: svn://localhost/ardour2/branches/3.0@5298 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r-- | libs/ardour/ardour/session.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 39822de678..2be7e418dc 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -723,9 +723,11 @@ class Session : public PBD::StatefulDestructible, public boost::noncopyable /* session-wide solo/mute/rec-enable */ bool soloing() const { return _non_soloed_outs_muted; } - + bool listening() const { return _listen_cnt > 0; } + void set_all_solo (bool); void set_all_mute (bool); + void set_all_listen (bool); sigc::signal<void,bool> SoloActive; sigc::signal<void> SoloChanged; @@ -1031,6 +1033,7 @@ class Session : public PBD::StatefulDestructible, public boost::noncopyable float _meter_hold; float _meter_falloff; bool _non_soloed_outs_muted; + uint32_t _listen_cnt; void set_worst_io_latencies (); void set_worst_io_latencies_x (IOChange asifwecare, void *ignored) { @@ -1451,16 +1454,15 @@ class Session : public PBD::StatefulDestructible, public boost::noncopyable /* mixer stuff */ - bool solo_update_disabled; + bool solo_update_disabled; + void route_listen_changed (void *src, boost::weak_ptr<Route>); void route_mute_changed (void *src); void route_solo_changed (void *src, boost::weak_ptr<Route>); - void catch_up_on_solo (); - void catch_up_on_solo_mute_override (); - void solo_model_changed (); void update_route_solo_state (boost::shared_ptr<RouteList> r = boost::shared_ptr<RouteList>()); - void modify_solo_mute (bool, bool); - void strip_portname_for_solo (std::string& portname); + + void listen_position_changed (); + void solo_control_mode_changed (); /* REGION MANAGEMENT */ |