diff options
author | Robin Gareus <robin@gareus.org> | 2017-01-16 19:42:04 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-01-16 19:54:42 +0100 |
commit | 88d797bd6424f9cdbf48a26e0913965a6f102363 (patch) | |
tree | 3736b9e7b96c7fa61e6cd2914b23eb7fe24fe10c /libs/ardour/track.cc | |
parent | 88b3aa926a82ff103d8440e89e28b202a450e18f (diff) |
Prepare session-wide implicit monitoring overrides
Diffstat (limited to 'libs/ardour/track.cc')
-rw-r--r-- | libs/ardour/track.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc index 7cdca70d3b..cb23943f2a 100644 --- a/libs/ardour/track.cc +++ b/libs/ardour/track.cc @@ -929,6 +929,17 @@ Track::monitoring_state () const return MonitoringDisk; } + switch (_session.config.get_session_monitoring ()) { + case MonitorDisk: + return MonitoringDisk; + break; + case MonitorInput: + return MonitoringInput; + break; + default: + break; + } + /* This is an implementation of the truth table in doc/monitor_modes.pdf; I don't think it's ever going to be too pretty too look at. */ |