diff options
author | Carl Hetherington <carl@carlh.net> | 2011-01-10 16:23:54 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-01-10 16:23:54 +0000 |
commit | dd7caa01654dc58d3259eeed0e0f2b8ddb293b66 (patch) | |
tree | 58c4f85e4a8c4882f8213a686f4c5182f27af79f /libs/ardour/ardour/io.h | |
parent | f7cef2016f737a7c80b5307d3d45d8065b9e8789 (diff) |
Optimise BufferSet::attach_buffers code to avoid memory allocation in the RT thread and speed things up a bit.
git-svn-id: svn://localhost/ardour2/branches/3.0@8490 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/io.h')
-rw-r--r-- | libs/ardour/ardour/io.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/ardour/io.h b/libs/ardour/ardour/io.h index 8335225f3c..8a3884b95f 100644 --- a/libs/ardour/ardour/io.h +++ b/libs/ardour/ardour/io.h @@ -42,6 +42,7 @@ #include "ardour/session_object.h" #include "ardour/types.h" #include "ardour/utils.h" +#include "ardour/buffer_set.h" class XMLNode; @@ -50,7 +51,6 @@ namespace ARDOUR { class Amp; class AudioEngine; class AudioPort; -class BufferSet; class Bundle; class MidiPort; class PeakMeter; @@ -249,6 +249,8 @@ class IO : public SessionObject, public Latent void setup_bundle (); std::string bundle_channel_name (uint32_t, uint32_t, DataType) const; + + BufferSet _buffers; }; } // namespace ARDOUR |