mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -05:00
add new pa_memchunk_will_need() API, similar to pa_memblock_will_need()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1747 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
f36ca79716
commit
7dbabc47bb
2 changed files with 22 additions and 0 deletions
|
|
@ -44,4 +44,7 @@ pa_memchunk* pa_memchunk_make_writable(pa_memchunk *c, size_t min);
|
|||
* but sets all members to zero. */
|
||||
pa_memchunk* pa_memchunk_reset(pa_memchunk *c);
|
||||
|
||||
/* Map a memory chunk back into memory if it was swapped out */
|
||||
pa_memchunk *pa_memchunk_will_need(pa_memchunk *c);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue