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