summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-12-28 13:37:09 +0100
committerRobin Gareus <robin@gareus.org>2013-12-28 13:43:57 +0100
commit0f6686eea90bb9d0d96a525d505e9f3165be2973 (patch)
tree1ae69c17cd8a1963acd7aa066b2c2ed7eb5e3a79 /libs/ardour
parent37264c85a509aca4a4ea71e8e2c5d32c81956879 (diff)
remove unused API to explicitly set/unset buffer silent flag
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/ardour/buffer.h1
-rw-r--r--libs/ardour/ardour/buffer_set.h1
-rw-r--r--libs/ardour/buffer_set.cc11
3 files changed, 0 insertions, 13 deletions
diff --git a/libs/ardour/ardour/buffer.h b/libs/ardour/ardour/buffer.h
index 4570a7a663..0d0f5d3758 100644
--- a/libs/ardour/ardour/buffer.h
+++ b/libs/ardour/ardour/buffer.h
@@ -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.
*
diff --git a/libs/ardour/ardour/buffer_set.h b/libs/ardour/ardour/buffer_set.h
index 26d47682af..5f8553218b 100644
--- a/libs/ardour/ardour/buffer_set.h
+++ b/libs/ardour/ardour/buffer_set.h
@@ -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; }
diff --git a/libs/ardour/buffer_set.cc b/libs/ardour/buffer_set.cc
index 227d7a1e95..9db99d20ce 100644
--- a/libs/ardour/buffer_set.cc
+++ b/libs/ardour/buffer_set.cc
@@ -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