From f76ae60204547f2a6ccb35313a5c3229ee777164 Mon Sep 17 00:00:00 2001 From: GZharun Date: Mon, 26 Jan 2015 13:02:14 +0200 Subject: [PATCH] [Summary] HOT FIX to the issue provoked by this commit: f8996e50c614c90c1c0d726ec832d6b0efc4a707 [Details] New read chunks exceed ring buffers capacity. When there is an attempt to playback we get error message. --- libs/ardour/diskstream.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libs/ardour/diskstream.cc b/libs/ardour/diskstream.cc index 3d98dd9564..c96f40b1c4 100644 --- a/libs/ardour/diskstream.cc +++ b/libs/ardour/diskstream.cc @@ -803,17 +803,21 @@ Diskstream::set_own_replication_path (const std::string& path) framecnt_t Diskstream::default_disk_read_chunk_frames() { +/* #ifdef PLATFORM_WINDOWS return (2 * 1048576) / sizeof (Sample); #elif defined __APPLE__ return (4 * 1048576) / sizeof (Sample); #else return 65536; -#endif +#endif*/ +//GZ to Paul Davis FIX-ME restored old value which used to work with current ring buffer capacity + return 262144; } framecnt_t Diskstream::default_disk_write_chunk_frames () { - return 65536; +//GZ to Paul Davis FIX-ME restored old value which used to work with current ring buffer capacity + return 262144; }