summaryrefslogtreecommitdiff
path: root/libs/ardour/audio_track.cc
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/audio_track.cc
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/audio_track.cc')
-rw-r--r--libs/ardour/audio_track.cc15
1 files changed, 0 insertions, 15 deletions
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 ()
{