#define __ardour_audio_source_h__
#include <boost/shared_ptr.hpp>
+#include <boost/shared_array.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <time.h>
thread, or a lock around calls that use them.
*/
- static std::vector<boost::shared_ptr<Sample> > _mixdown_buffers;
- static std::vector<boost::shared_ptr<gain_t> > _gain_buffers;
+ static std::vector<boost::shared_array<Sample> > _mixdown_buffers;
+ static std::vector<boost::shared_array<gain_t> > _gain_buffers;
static Glib::Threads::Mutex _level_buffer_lock;
static void ensure_buffers_for_level (uint32_t, framecnt_t);