summaryrefslogtreecommitdiff
path: root/libs/ardour/track.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-07-27 12:32:10 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2017-09-18 11:40:53 -0400
commite9dd575ca573e7bfc1226d4d7edfbfe3de8debd4 (patch)
treec13ca9398934d32a99a785debe90f4fe7fae2240 /libs/ardour/track.cc
parent24df2b559464f981e2c6a91719e3cfe2a76a197c (diff)
remove all code related to "silent roll" concept. some debug output added
Diffstat (limited to 'libs/ardour/track.cc')
-rw-r--r--libs/ardour/track.cc33
1 files changed, 0 insertions, 33 deletions
diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc
index 669a30190e..6f8d49d532 100644
--- a/libs/ardour/track.cc
+++ b/libs/ardour/track.cc
@@ -556,39 +556,6 @@ Track::no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame,
return 0;
}
-int
-Track::silent_roll (pframes_t nframes, framepos_t /*start_frame*/, framepos_t /*end_frame*/, bool& need_butler)
-{
- Glib::Threads::RWLock::ReaderLock lm (_processor_lock, Glib::Threads::TRY_LOCK);
- if (!lm.locked()) {
- // XXX DISK reader needs to seek ahead the correct distance ?? OR DOES IT ?
- //framecnt_t playback_distance = _disk_reader->calculate_playback_distance(nframes);
- //if (can_internal_playback_seek(playback_distance)) {
- // internal_playback_seek(playback_distance);
- //}
- return 0;
- }
-
- if (n_outputs().n_total() == 0 && _processors.empty()) {
- return 0;
- }
-
- if (!_active) {
- silence (nframes);
- return 0;
- }
-
- _silent = true;
- _amp->apply_gain_automation(false);
-
- silence (nframes);
- flush_processor_buffers_locked (nframes);
-
- //BufferSet& bufs (_session.get_route_buffers (n_process_buffers(), true));
- // XXXX DISKWRITER/READER ADVANCE, SET need_butler
- return 0;
-}
-
boost::shared_ptr<Playlist>
Track::playlist ()
{