From 58123c969b2fa840a21f1e8bb2f3bf2068a26712 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 19 Feb 2020 23:09:51 -0700 Subject: [PATCH] remove unused method --- libs/pbd/pbd/playback_buffer.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libs/pbd/pbd/playback_buffer.h b/libs/pbd/pbd/playback_buffer.h index 1981adcdd8..a7013b2110 100644 --- a/libs/pbd/pbd/playback_buffer.h +++ b/libs/pbd/pbd/playback_buffer.h @@ -127,14 +127,6 @@ public: return cnt; } - /* read-thead */ - void read_flush () - { - SpinLock sl (_reservation_lock); - g_atomic_int_set (&read_idx, g_atomic_int_get (&write_idx)); - g_atomic_int_set (&reserved, 0); - } - /* read-thead */ guint decrement_read_ptr (guint cnt) {