summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-06-04 02:40:19 +0200
committerRobin Gareus <robin@gareus.org>2014-06-04 02:40:19 +0200
commit3ca59162c9bd5212716d527f14b6a669de924ca5 (patch)
treeaa46a0e306ea5d970698b61091e96eda8d915977 /libs/ardour
parentaec7ea46131f9cc4b81890af30eef378f0973bbd (diff)
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 a771dea20332bf31162ccb13a518e0348b441dd1.
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/ardour/audio_track.h1
-rw-r--r--libs/ardour/ardour/track.h1
-rw-r--r--libs/ardour/audio_track.cc15
3 files changed, 0 insertions, 17 deletions
diff --git a/libs/ardour/ardour/audio_track.h b/libs/ardour/ardour/audio_track.h
index ace5a041ce..0bc8be81f4 100644
--- a/libs/ardour/ardour/audio_track.h
+++ b/libs/ardour/ardour/audio_track.h
@@ -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&);
diff --git a/libs/ardour/ardour/track.h b/libs/ardour/ardour/track.h
index 7691981fa4..736ca8c6dd 100644
--- a/libs/ardour/ardour/track.h
+++ b/libs/ardour/ardour/track.h
@@ -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.
*/
diff --git a/libs/ardour/audio_track.cc b/libs/ardour/audio_track.cc
index 5b9df22a7b..13d5c43dda 100644
--- a/libs/ardour/audio_track.cc
+++ b/libs/ardour/audio_track.cc
@@ -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 ()
{