summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/audiosource.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/audiosource.h')
-rw-r--r--libs/ardour/ardour/audiosource.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/ardour/audiosource.h b/libs/ardour/ardour/audiosource.h
index 93ad5d0767..ded3e5e862 100644
--- a/libs/ardour/ardour/audiosource.h
+++ b/libs/ardour/ardour/audiosource.h
@@ -120,11 +120,12 @@ class AudioSource : virtual public Source,
thread, or a lock around calls that use them.
*/
- static std::vector<Sample*> _mixdown_buffers;
- static std::vector<gain_t*> _gain_buffers;
+ static std::vector<boost::shared_ptr<Sample> > _mixdown_buffers;
+ static std::vector<boost::shared_ptr<gain_t> > _gain_buffers;
static Glib::StaticMutex _level_buffer_lock;
static void ensure_buffers_for_level (uint32_t, framecnt_t);
+ static void ensure_buffers_for_level_locked (uint32_t, framecnt_t);
framecnt_t _length;
std::string peakpath;