remove unused API to explicitly set/unset buffer silent flag
This commit is contained in:
parent
37264c85a5
commit
0f6686eea9
@ -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.
|
||||
*
|
||||
|
@ -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; }
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user