diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-12-10 09:28:41 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-12-10 09:29:22 -0700 |
commit | c3e3930f149667666a2e5b851d02a4bed1cfb9d9 (patch) | |
tree | 3833506a9e1a9ffe7cd052b34bf95c2897d38c15 /libs/ardour/ardour/disk_io.h | |
parent | 7457fd2e27b4b10e3d5cd8fa0d5d1d45abbeae48 (diff) |
revert to single buffer for disk playback, and 5.x-style overwrite
Also address issues with MIDI and also atomicity of _pending_overwrite
Diffstat (limited to 'libs/ardour/ardour/disk_io.h')
-rw-r--r-- | libs/ardour/ardour/disk_io.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/ardour/ardour/disk_io.h b/libs/ardour/ardour/disk_io.h index 65486febf4..1ae7cbfa94 100644 --- a/libs/ardour/ardour/disk_io.h +++ b/libs/ardour/ardour/disk_io.h @@ -151,13 +151,11 @@ protected: ChannelInfo (samplecnt_t buffer_size); virtual ~ChannelInfo (); - /** A pair of random-access ringbuffers for data to be played back. + /** A semi-random-access ringbuffers for data to be played back. * written to in the butler thread, read from in the process * thread. - * - * */ - PBD::PlaybackBuffer<Sample>* rbuf[2]; + PBD::PlaybackBuffer<Sample>* rbuf; /** A ringbuffer for data to be recorded back, written to in the * process thread, read from in the butler thread. |