Remove out-of-date members of freeze_record which are now accounted for by Processor state.
git-svn-id: svn://localhost/ardour2/branches/3.0@6906 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -126,9 +126,6 @@ class Track : public Route
|
||||
std::vector<FreezeRecordProcessorInfo*> processor_info;
|
||||
bool have_mementos;
|
||||
FreezeState state;
|
||||
gain_t gain;
|
||||
AutoState gain_automation_state;
|
||||
AutoState pan_automation_state;
|
||||
};
|
||||
|
||||
struct RecEnableControllable : public PBD::Controllable {
|
||||
|
||||
@@ -698,8 +698,6 @@ AudioTrack::freeze_me (InterThreadInfo& itt)
|
||||
|
||||
new_playlist = PlaylistFactory::create (DataType::AUDIO, _session, new_playlist_name, false);
|
||||
|
||||
_freeze_record.gain = _amp->gain();
|
||||
_freeze_record.gain_automation_state = _amp->gain_control()->automation_state();
|
||||
/* XXX need main outs automation state _freeze_record.pan_automation_state = _mainpanner->automation_state(); */
|
||||
|
||||
region_name = new_playlist_name;
|
||||
@@ -752,8 +750,6 @@ AudioTrack::unfreeze ()
|
||||
}
|
||||
|
||||
_freeze_record.playlist.reset ();
|
||||
set_gain (_freeze_record.gain, this);
|
||||
_amp->gain_control()->set_automation_state (_freeze_record.gain_automation_state);
|
||||
/* XXX need to use _main_outs _panner->set_automation_state (_freeze_record.pan_automation_state); */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user