diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-02-19 23:10:13 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-02-19 23:10:13 -0700 |
commit | d1b335b36e30020ded4a00cc5ace911ba499965b (patch) | |
tree | eee8b8eaf53a74903798efee5ddfa46d56845961 /libs/pbd | |
parent | 58123c969b2fa840a21f1e8bb2f3bf2068a26712 (diff) |
expose PlaybackBuffer::reservation and make the member const
Diffstat (limited to 'libs/pbd')
-rw-r--r-- | libs/pbd/pbd/playback_buffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/pbd/pbd/playback_buffer.h b/libs/pbd/pbd/playback_buffer.h index a7013b2110..d41f7420b6 100644 --- a/libs/pbd/pbd/playback_buffer.h +++ b/libs/pbd/pbd/playback_buffer.h @@ -172,10 +172,11 @@ public: guint read_ptr() const { return read_idx; } guint reserved_size() const { return reserved; } + guint reservation_size() const { return reservation; } private: T *buf; - guint reservation; + const guint reservation; guint size; guint size_mask; |