"Run plugins while recording" -> "Do not run plugins while recording"
[ardour.git] / libs / ardour / audio_playlist.cc
index e4a244aa16f03cfbdac293bce115b524bd5dcf73..9c68c6111405ebb86ae6e3a3e55b76ea57c364af 100644 (file)
@@ -473,7 +473,7 @@ AudioPlaylist::set_state (const XMLNode& node)
                        }
 
                        catch (failed_constructor& err) {
-                         //    cout << compose (_("could not create crossfade object in playlist %1"),
+                         //    cout << string_compose (_("could not create crossfade object in playlist %1"),
                          //      _name) 
                          //    << endl;
                                continue;
@@ -576,7 +576,6 @@ AudioPlaylist::state_factory (std::string why) const
        for (Crossfades::const_iterator i = _crossfades.begin(); i != _crossfades.end(); ++i) {
                state->crossfade_states.push_back ((*i)->get_memento());
        }
-
        return state;
 }
 
@@ -592,13 +591,13 @@ AudioPlaylist::restore_state (StateManager::State& state)
                regions = apstate->regions;
 
                for (list<UndoAction>::iterator s = apstate->region_states.begin(); s != apstate->region_states.end(); ++s) {
-                 *s;
+                       (*s) ();
                }
 
                _crossfades = apstate->crossfades;
                
                for (list<UndoAction>::iterator s = apstate->crossfade_states.begin(); s != apstate->crossfade_states.end(); ++s) {
-                 *s;
+                       (*s) ();
                }
 
                in_set_state = false;
@@ -611,7 +610,7 @@ AudioPlaylist::restore_state (StateManager::State& state)
 UndoAction
 AudioPlaylist::get_memento () const
 {
-  return sigc::bind (mem_fun (*(const_cast<AudioPlaylist*> (this)), &StateManager::use_state), _current_state_id);
+       return sigc::bind (mem_fun (*(const_cast<AudioPlaylist*> (this)), &StateManager::use_state), _current_state_id);
 }
 
 void