Revert "add API to query a processor's frozen state."

Theoretically one could alter the plugins after a delivery even on a
frozen track. ..or even change settings, the ordering and add/remove
plugins after the frozen part of a track.

We won't go there. Frozen is frozen. this API is not needed after all.

This reverts commit a771dea203.
This commit is contained in:
Robin Gareus 2014-06-04 02:40:19 +02:00 committed by Paul Davis
parent 87ca02d7ad
commit 59309d2bb1
3 changed files with 0 additions and 17 deletions

View file

@ -52,7 +52,6 @@ class LIBARDOUR_API AudioTrack : public Track
void freeze_me (InterThreadInfo&);
void unfreeze ();
bool frozen_processor(PBD::ID const) const;
bool bounceable (boost::shared_ptr<Processor>, bool include_endpoint) const;
boost::shared_ptr<Region> bounce (InterThreadInfo&);

View file

@ -88,7 +88,6 @@ class LIBARDOUR_API Track : public Route, public PublicDiskstream
virtual void freeze_me (InterThreadInfo&) = 0;
virtual void unfreeze () = 0;
virtual bool frozen_processor(PBD::ID const) const { return false; }
/** @return true if the track can be bounced, or false otherwise.
*/

View file

@ -601,21 +601,6 @@ AudioTrack::freeze_me (InterThreadInfo& itt)
FreezeChange(); /* EMIT SIGNAL */
}
bool
AudioTrack::frozen_processor(PBD::ID const id) const
{
if (freeze_state() != AudioTrack::Frozen) {
return false;
}
for (vector<FreezeRecordProcessorInfo*>::const_iterator ii = _freeze_record.processor_info.begin(); ii != _freeze_record.processor_info.end(); ++ii) {
if ((*ii)->id == id) {
return true;
}
}
return false;
}
void
AudioTrack::unfreeze ()
{