summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/buffer_set.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-07-28 20:51:28 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-07-28 20:51:28 +0000
commit3ae28868ff02abf44102fff9954e7e8d6359867f (patch)
tree6202724eba77a9844d9079614c5ea91f91c110e5 /libs/ardour/ardour/buffer_set.h
parent5eaf61242f16c7638c0e71a9c82af5a781c24e87 (diff)
remove all MIDI-specific editing modes by making standard work either at object level or within (e.g. notes, etc) ; make tool buttons proxies for GtkActions ; internal sends have their own BufferSet now, instead of using Session ones; don't make internal sends to the monitor bus active when added to the Route
git-svn-id: svn://localhost/ardour2/branches/3.0@5434 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/buffer_set.h')
-rw-r--r--libs/ardour/ardour/buffer_set.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/ardour/buffer_set.h b/libs/ardour/ardour/buffer_set.h
index 284609a988..49c392ce6a 100644
--- a/libs/ardour/ardour/buffer_set.h
+++ b/libs/ardour/ardour/buffer_set.h
@@ -62,6 +62,11 @@ public:
void attach_buffers(PortSet& ports, nframes_t nframes, nframes_t offset = 0);
+ /* the capacity here is a size_t and has a different interpretation depending
+ on the DataType of the buffers. for audio, its a frame count. for MIDI
+ its a byte count.
+ */
+
void ensure_buffers(DataType type, size_t num_buffers, size_t buffer_capacity);
void ensure_buffers(const ChanCount& chns, size_t buffer_capacity);