expose PlaybackBuffer::reservation and make the member const
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user