remove unused API to explicitly set/unset buffer silent flag

This commit is contained in:
Robin Gareus 2013-12-28 13:37:09 +01:00
parent 37264c85a5
commit 0f6686eea9
3 changed files with 0 additions and 13 deletions

View File

@ -61,7 +61,6 @@ public:
DataType type() const { return _type; }
bool silent() const { return _silent; }
void set_is_silent(bool yn) { _silent = yn; }
/** Reallocate the buffer used internally to handle at least @a size_t units of data.
*

View File

@ -86,7 +86,6 @@ public:
const ChanCount& count() const { return _count; }
ChanCount& count() { return _count; }
void set_is_silent(bool yn);
void silence (framecnt_t nframes, framecnt_t offset);
bool is_mirror() const { return _is_mirror; }

View File

@ -468,16 +468,5 @@ BufferSet::silence (framecnt_t nframes, framecnt_t offset)
}
}
void
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)->set_is_silent (yn);
}
}
}
} // namespace ARDOUR