From 318600d05eb2cd6ac14b5fa9ffeb2d4dae9c6aaf Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 2 Oct 2017 12:37:20 -0400 Subject: [PATCH] use constructor syntax --- libs/ardour/disk_io.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/ardour/disk_io.cc b/libs/ardour/disk_io.cc index 147a5b83ba..82b32d571e 100644 --- a/libs/ardour/disk_io.cc +++ b/libs/ardour/disk_io.cc @@ -350,9 +350,8 @@ DiskIOProcessor::use_playlist (DataType dt, boost::shared_ptr playlist } DiskIOProcessor::ChannelInfo::ChannelInfo (samplecnt_t bufsize) + : buf (new RingBufferNPT (bufsize)) { - buf = new RingBufferNPT (bufsize); - /* touch the ringbuffer buffer, which will cause them to be mapped into locked physical RAM if we're running with mlockall(). this doesn't do