mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
memblockq: add pa_memblockq_get_maxrewind() API
This commit is contained in:
parent
b0cabfe16b
commit
a42c597f0a
2 changed files with 9 additions and 0 deletions
|
|
@ -692,6 +692,12 @@ size_t pa_memblockq_get_minreq(pa_memblockq *bq) {
|
|||
return bq->minreq;
|
||||
}
|
||||
|
||||
size_t pa_memblockq_get_maxrewind(pa_memblockq *bq) {
|
||||
pa_assert(bq);
|
||||
|
||||
return bq->maxrewind;
|
||||
}
|
||||
|
||||
int64_t pa_memblockq_get_read_index(pa_memblockq *bq) {
|
||||
pa_assert(bq);
|
||||
|
||||
|
|
|
|||
|
|
@ -141,6 +141,9 @@ size_t pa_memblockq_get_prebuf(pa_memblockq *bq);
|
|||
/* Returns the minimal request value */
|
||||
size_t pa_memblockq_get_minreq(pa_memblockq *bq);
|
||||
|
||||
/* Returns the maximal rewind value */
|
||||
size_t pa_memblockq_get_maxrewind(pa_memblockq *bq);
|
||||
|
||||
/* Return the base unit in bytes */
|
||||
size_t pa_memblockq_get_base(pa_memblockq *bq);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue