mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
forgot to add memchunk.[ch]
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@46 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
741aa44ffc
commit
253c540e84
2 changed files with 144 additions and 0 deletions
20
src/memchunk.h
Normal file
20
src/memchunk.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef foomemchunkhfoo
|
||||
#define foomemchunkhfoo
|
||||
|
||||
#include "memblock.h"
|
||||
|
||||
struct memchunk {
|
||||
struct memblock *memblock;
|
||||
size_t index, length;
|
||||
};
|
||||
|
||||
void memchunk_make_writable(struct memchunk *c);
|
||||
|
||||
struct mcalign;
|
||||
|
||||
struct mcalign *mcalign_new(size_t base);
|
||||
void mcalign_free(struct mcalign *m);
|
||||
void mcalign_push(struct mcalign *m, const struct memchunk *c);
|
||||
int mcalign_pop(struct mcalign *m, struct memchunk *c);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue