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 read_ptr() const { return read_idx; }
|
||||||
guint reserved_size() const { return reserved; }
|
guint reserved_size() const { return reserved; }
|
||||||
|
guint reservation_size() const { return reservation; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
T *buf;
|
T *buf;
|
||||||
guint reservation;
|
const guint reservation;
|
||||||
guint size;
|
guint size;
|
||||||
guint size_mask;
|
guint size_mask;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user