mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
add pa_memblockq_get_base()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2539 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
7dffccded5
commit
fa53443354
2 changed files with 8 additions and 0 deletions
|
|
@ -908,3 +908,9 @@ unsigned pa_memblockq_get_nblocks(pa_memblockq *bq) {
|
||||||
|
|
||||||
return bq->n_blocks;
|
return bq->n_blocks;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
size_t pa_memblockq_get_base(pa_memblockq *bq) {
|
||||||
|
pa_assert(bq);
|
||||||
|
|
||||||
|
return bq->base;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -169,4 +169,6 @@ pa_bool_t pa_memblockq_prebuf_active(pa_memblockq *bq);
|
||||||
|
|
||||||
unsigned pa_memblockq_get_nblocks(pa_memblockq *bq);
|
unsigned pa_memblockq_get_nblocks(pa_memblockq *bq);
|
||||||
|
|
||||||
|
size_t pa_memblockq_get_base(pa_memblockq *bq);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue