summaryrefslogtreecommitdiffstats
path: root/src/server/Buffer.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-03-20 02:35:26 +0100
committerDavid Robillard <d@drobilla.net>2017-03-20 03:19:33 +0100
commita312f5b5343112bb5b1a2ee10027ffc7a2dc6e2b (patch)
tree2b01aa73cdb18c52ff55c6833b1e1503c3860c79 /src/server/Buffer.hpp
parent4d4721f984e0a22a9874b5d4c4c9ee6674fca856 (diff)
downloadingen-a312f5b5343112bb5b1a2ee10027ffc7a2dc6e2b.tar.gz
ingen-a312f5b5343112bb5b1a2ee10027ffc7a2dc6e2b.tar.bz2
ingen-a312f5b5343112bb5b1a2ee10027ffc7a2dc6e2b.zip
Add CV dumping debug utility
Diffstat (limited to 'src/server/Buffer.hpp')
-rw-r--r--src/server/Buffer.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/Buffer.hpp b/src/server/Buffer.hpp
index 13e0a7eb..8742445f 100644
--- a/src/server/Buffer.hpp
+++ b/src/server/Buffer.hpp
@@ -195,6 +195,10 @@ public:
/// Set/add to audio buffer from the Sequence of Float in `src`
void render_sequence(const RunContext& context, const Buffer* src, bool add);
+#ifndef NDEBUG
+ void dump_cv(const RunContext& context) const;
+#endif
+
void set_capacity(uint32_t capacity) { _capacity = capacity; }
void set_buffer(void* buf) { assert(_external); _buf = buf; }