summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/buffer.h1
-rw-r--r--libs/ardour/ardour/buffer_set.h3
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/buffer.h b/libs/ardour/ardour/buffer.h
index 46a6d62667..48fd7f099b 100644
--- a/libs/ardour/ardour/buffer.h
+++ b/libs/ardour/ardour/buffer.h
@@ -61,6 +61,7 @@ public:
DataType type() const { return _type; }
bool silent() const { return _silent; }
+ void 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 f9547e69a2..0c4d5671d3 100644
--- a/libs/ardour/ardour/buffer_set.h
+++ b/libs/ardour/ardour/buffer_set.h
@@ -76,8 +76,7 @@ public:
const ChanCount& count() const { return _count; }
ChanCount& count() { return _count; }
- void is_silent(bool yn) { _is_silent = yn; }
- bool is_silent() const { return _is_silent; }
+ void is_silent(bool yn);
void silence (nframes_t nframes, nframes_t offset);
bool is_mirror() const { return _is_mirror; }