summaryrefslogtreecommitdiff
path: root/libs/ardour/disk_io.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-02-05 20:51:33 +0100
committerRobin Gareus <robin@gareus.org>2019-02-05 23:29:31 +0100
commit007c4ffdc0bb8a6de967e499885284b2d3b3d0c2 (patch)
treece6815467083ef1a6e672700aa6079dc370432ab /libs/ardour/disk_io.cc
parent3cc3074dc7e964275db7184cc0ff4213fb84d272 (diff)
Towards a new disk-reader ringbuffer
This is mainly a NO-OP, introducing a new PlaybackBuffer type and preparing for its use. At this point in time, the buffer is just a power-of-two sized ringbuffer and the disk-reader's read-logic is still unchanged. Eventually the read and write sample position that are currently private to the disk-reader can be migrated to be owned by the buffer. Also Diskreader::read() positions can be matched to read-position .. +/- buffer reservation and de-click can read w/o committing the read.
Diffstat (limited to 'libs/ardour/disk_io.cc')
-rw-r--r--libs/ardour/disk_io.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/disk_io.cc b/libs/ardour/disk_io.cc
index 097794bb3d..4c7b77335d 100644
--- a/libs/ardour/disk_io.cc
+++ b/libs/ardour/disk_io.cc
@@ -19,6 +19,7 @@
#include "pbd/debug.h"
#include "pbd/error.h"
+#include "pbd/playback_buffer.h"
#include "ardour/audioplaylist.h"
#include "ardour/butler.h"