diff --git a/libs/ardour/ardour/audiosource.h b/libs/ardour/ardour/audiosource.h index 2cd7aa05d6..ad849a0bad 100644 --- a/libs/ardour/ardour/audiosource.h +++ b/libs/ardour/ardour/audiosource.h @@ -114,9 +114,6 @@ class LIBARDOUR_API AudioSource : virtual public Source, public ARDOUR::AudioRea static std::vector > _gain_buffers; static Glib::Threads::Mutex _level_buffer_lock; - static void ensure_buffers_for_level (uint32_t, samplecnt_t); - static void ensure_buffers_for_level_locked (uint32_t, samplecnt_t); - std::string _peakpath; int initialize_peakfile (const std::string& path, const bool in_session = false); diff --git a/libs/ardour/audio_playlist_source.cc b/libs/ardour/audio_playlist_source.cc index d0bcf74f2b..6434ccdcf1 100644 --- a/libs/ardour/audio_playlist_source.cc +++ b/libs/ardour/audio_playlist_source.cc @@ -52,7 +52,6 @@ AudioPlaylistSource::AudioPlaylistSource (Session& s, const ID& orig, const std: , _playlist_channel (chn) { AudioSource::_length = timecnt_t (len); - ensure_buffers_for_level (_level, _session.sample_rate()); } AudioPlaylistSource::AudioPlaylistSource (Session& s, const XMLNode& node)