summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-02-19 23:09:51 -0700
committerPaul Davis <paul@linuxaudiosystems.com>2020-02-19 23:09:51 -0700
commit58123c969b2fa840a21f1e8bb2f3bf2068a26712 (patch)
tree1b522654b2f118da97ede8e5e04c241b88c8d70f /libs/pbd
parent998b88b521437fca98d01c2e57558387d66402ba (diff)
remove unused method
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/pbd/playback_buffer.h8
1 files changed, 0 insertions, 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
@@ -128,14 +128,6 @@ public:
}
/* 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)
{
SpinLock sl (_reservation_lock);