diff options
author | Carl Hetherington <carl@carlh.net> | 2011-11-21 01:28:27 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-11-21 01:28:27 +0000 |
commit | da9b82732eed632d8b940818382f7eb369100964 (patch) | |
tree | 8e6704e493ef08c984c0c81b636cb42789141da6 /libs/ardour | |
parent | 91c057494be9f97020211ee1855c2d1d190df95c (diff) |
Remove unused with_processors parameter to
process_output_buffers; functionality to return
elsewhere.
git-svn-id: svn://localhost/ardour2/branches/3.0@10722 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/ardour/route.h | 2 | ||||
-rw-r--r-- | libs/ardour/audio_track.cc | 4 | ||||
-rw-r--r-- | libs/ardour/midi_track.cc | 7 | ||||
-rw-r--r-- | libs/ardour/route.cc | 7 |
4 files changed, 10 insertions, 10 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h index f89f47778d..94b856f3f4 100644 --- a/libs/ardour/ardour/route.h +++ b/libs/ardour/ardour/route.h @@ -428,7 +428,7 @@ class Route : public SessionObject, public Automatable, public RouteGroupMember, virtual void process_output_buffers (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, - pframes_t nframes, bool with_processors, int declick, + pframes_t nframes, int declick, bool gain_automation_ok); boost::shared_ptr<IO> _input; diff --git a/libs/ardour/audio_track.cc b/libs/ardour/audio_track.cc index 4f4cdcad36..c15fcd9e9c 100644 --- a/libs/ardour/audio_track.cc +++ b/libs/ardour/audio_track.cc @@ -470,9 +470,9 @@ AudioTrack::roll (pframes_t nframes, framepos_t start_frame, framepos_t end_fram process_output_buffers ( bufs, start_frame, end_frame, nframes, - (!_session.get_record_enabled() || !Config->get_do_not_record_plugins()), declick, - (!diskstream->record_enabled() && _session.transport_rolling())); + (!diskstream->record_enabled() && _session.transport_rolling()) + ); } else { /* problem with the diskstream; just be quiet for a bit */ diff --git a/libs/ardour/midi_track.cc b/libs/ardour/midi_track.cc index 8a50e88fa5..ff9810629f 100644 --- a/libs/ardour/midi_track.cc +++ b/libs/ardour/midi_track.cc @@ -360,9 +360,10 @@ MidiTrack::roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame /* final argument: don't waste time with automation if we're recording or we've just stopped (yes it can happen) */ - process_output_buffers (bufs, start_frame, end_frame, nframes, - (!_session.get_record_enabled() || !Config->get_do_not_record_plugins()), declick, - (!diskstream->record_enabled() && !_session.transport_stopped())); + process_output_buffers ( + bufs, start_frame, end_frame, nframes, + declick, (!diskstream->record_enabled() && !_session.transport_stopped()) + ); } for (ProcessorList::iterator i = _processors.begin(); i != _processors.end(); ++i) { diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index b13602635d..58589acfee 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -398,8 +398,7 @@ Route::maybe_declick (BufferSet&, framecnt_t, int) void Route::process_output_buffers (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pframes_t nframes, - bool /*with_processors*/, int declick, - bool gain_automation_ok) + int declick, bool gain_automation_ok) { bool monitor = should_monitor (); @@ -548,7 +547,7 @@ Route::passthru (framepos_t start_frame, framepos_t end_frame, pframes_t nframes } write_out_of_band_data (bufs, start_frame, end_frame, nframes); - process_output_buffers (bufs, start_frame, end_frame, nframes, true, declick, true); + process_output_buffers (bufs, start_frame, end_frame, nframes, declick, true); } void @@ -558,7 +557,7 @@ Route::passthru_silence (framepos_t start_frame, framepos_t end_frame, pframes_t bufs.set_count (_input->n_ports()); write_out_of_band_data (bufs, start_frame, end_frame, nframes); - process_output_buffers (bufs, start_frame, end_frame, nframes, true, declick, false); + process_output_buffers (bufs, start_frame, end_frame, nframes, declick, false); } void |