rename a Buffer/BufferSet method to be a little clearer as to its intent (is_silent(bool) => set_is_silent(bool))
git-svn-id: svn://localhost/ardour2/branches/3.0@10867 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
a38df56f97
commit
5aa4d95f59
@ -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.
|
||||
*
|
||||
|
@ -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; }
|
||||
|
||||
|
@ -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<BufferVec>::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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user