mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 21:25:46 +01:00
fix up confusion between silence() decls for Processor & PluginInsert; fix typo that put a 9 where a 0 should be
git-svn-id: svn://localhost/ardour2/branches/3.0@5018 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
57e1c28750
commit
2e7c10b6ef
2 changed files with 4 additions and 4 deletions
|
|
@ -55,7 +55,7 @@ class PluginInsert : public Processor
|
|||
int set_state(const XMLNode&);
|
||||
|
||||
void run_in_place (BufferSet& in, nframes_t start_frame, nframes_t end_frame, nframes_t nframes);
|
||||
void silence (nframes_t nframes, nframes_t offset);
|
||||
void silence (nframes_t nframes);
|
||||
|
||||
void activate ();
|
||||
void deactivate ();
|
||||
|
|
|
|||
|
|
@ -352,14 +352,14 @@ PluginInsert::connect_and_run (BufferSet& bufs, nframes_t nframes, nframes_t off
|
|||
}
|
||||
|
||||
void
|
||||
PluginInsert::silence (nframes_t nframes, nframes_t offset)
|
||||
PluginInsert::silence (nframes_t nframes)
|
||||
{
|
||||
uint32_t in_index = 0;
|
||||
uint32_t out_index = 0;
|
||||
|
||||
if (active()) {
|
||||
for (vector<boost::shared_ptr<Plugin> >::iterator i = _plugins.begin(); i != _plugins.end(); ++i) {
|
||||
(*i)->connect_and_run (_session.get_silent_buffers ((*i)->get_info()->n_inputs), in_index, out_index, nframes, offset);
|
||||
(*i)->connect_and_run (_session.get_silent_buffers ((*i)->get_info()->n_inputs), in_index, out_index, nframes, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -372,7 +372,7 @@ PluginInsert::run_in_place (BufferSet& bufs, nframes_t start_frame, nframes_t en
|
|||
if (_session.transport_rolling()) {
|
||||
automation_run (bufs, nframes);
|
||||
} else {
|
||||
connect_and_run (bufs, nframes, 9, false);
|
||||
connect_and_run (bufs, nframes, 0, false);
|
||||
}
|
||||
} else {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue