summaryrefslogtreecommitdiff
path: root/libs/ardour/io.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/io.cc')
-rw-r--r--libs/ardour/io.cc31
1 files changed, 0 insertions, 31 deletions
diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc
index a9751268ff..323c58b65e 100644
--- a/libs/ardour/io.cc
+++ b/libs/ardour/io.cc
@@ -2313,27 +2313,6 @@ IO::setup_peak_meters ()
}
}
-#ifdef STATE_MANAGER
-UndoAction
-IO::get_memento() const
-{
- return sigc::bind (mem_fun (*(const_cast<IO *>(this)), &StateManager::use_state), _current_state_id);
-}
-
-Change
-IO::restore_state (StateManager::State& state)
-{
- return Change (0);
-}
-
-StateManager::State*
-IO::state_factory (std::string why) const
-{
- StateManager::State* state = new StateManager::State (why);
- return state;
-}
-#endif
-
/**
Update the peak meters.
@@ -2490,10 +2469,6 @@ IO::load_automation (const string& path)
}
}
-#ifdef STATE_MANAGER
- _gain_automation_curve.save_state (_("loaded from disk"));
-#endif
-
return 0;
}
@@ -2619,12 +2594,6 @@ IO::transport_stopped (nframes_t frame)
if (_gain_automation_curve.automation_state() != Off) {
-#ifdef STATE_MANAGER
- if (gain_automation_recording()) {
- _gain_automation_curve.save_state (_("automation write/touch"));
- }
-#endif
-
/* the src=0 condition is a special signal to not propagate
automation gain changes into the mix group when locating.
*/