diff --git a/libs/ardour/ardour/buffer.h b/libs/ardour/ardour/buffer.h index 15e97ccc10..c6f6822519 100644 --- a/libs/ardour/ardour/buffer.h +++ b/libs/ardour/ardour/buffer.h @@ -64,7 +64,7 @@ public: DataType type() const { return _type; } bool silent() const { return _silent; } - void is_silent(bool yn) { _silent = yn; } + void set_is_silent(bool yn) { _silent = yn; } /** Reallocate the buffer used internally to handle at least @a size_t units of data. * diff --git a/libs/ardour/ardour/buffer_set.h b/libs/ardour/ardour/buffer_set.h index b64cdb7b60..4db1c34557 100644 --- a/libs/ardour/ardour/buffer_set.h +++ b/libs/ardour/ardour/buffer_set.h @@ -85,7 +85,7 @@ public: const ChanCount& count() const { return _count; } ChanCount& count() { return _count; } - void is_silent(bool yn); + void set_is_silent(bool yn); void silence (framecnt_t nframes, framecnt_t offset); bool is_mirror() const { return _is_mirror; } diff --git a/libs/ardour/buffer_set.cc b/libs/ardour/buffer_set.cc index 4fc335a080..36d9787374 100644 --- a/libs/ardour/buffer_set.cc +++ b/libs/ardour/buffer_set.cc @@ -434,11 +434,11 @@ BufferSet::silence (framecnt_t nframes, framecnt_t offset) } void -BufferSet::is_silent (bool yn) +BufferSet::set_is_silent (bool yn) { for (std::vector::iterator i = _buffers.begin(); i != _buffers.end(); ++i) { for (BufferVec::iterator b = i->begin(); b != i->end(); ++b) { - (*b)->is_silent (yn); + (*b)->set_is_silent (yn); } } diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index b7c338aa20..dd9e8d5dcf 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -508,7 +508,7 @@ PluginInsert::run (BufferSet& bufs, framepos_t /*start_frame*/, framepos_t /*end * all buffers appropriately. */ - bufs.is_silent (false); + bufs.set_is_silent (false); } void diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index adeda63972..46bc9b7696 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -402,7 +402,7 @@ Route::process_output_buffers (BufferSet& bufs, { bool monitor = should_monitor (); - bufs.is_silent (false); + bufs.set_is_silent (false); /* figure out if we're going to use gain automation */ if (gain_automation_ok) {