]>
code.delx.au - pulseaudio/blob - polyp/memchunk.h
3a592f0496717f414abe71e88932be5fd1dc0cf4
1 #ifndef foomemchunkhfoo
2 #define foomemchunkhfoo
7 This file is part of polypaudio.
9 polypaudio is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published
11 by the Free Software Foundation; either version 2 of the License,
12 or (at your option) any later version.
14 polypaudio is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with polypaudio; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
28 struct pa_memblock
*memblock
;
32 void pa_memchunk_make_writable(struct pa_memchunk
*c
, struct pa_memblock_stat
*s
);
36 struct pa_mcalign
*pa_mcalign_new(size_t base
, struct pa_memblock_stat
*s
);
37 void pa_mcalign_free(struct pa_mcalign
*m
);
38 void pa_mcalign_push(struct pa_mcalign
*m
, const struct pa_memchunk
*c
);
39 int pa_mcalign_pop(struct pa_mcalign
*m
, struct pa_memchunk
*c
);