Home
last modified time | relevance | path

Searched refs:pa_memblock (Results 1 – 21 of 21) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dmemblock.h24 typedef struct pa_memblock pa_memblock; typedef
82 pa_memblock *pa_memblock_new(pa_mempool *, size_t length);
85 pa_memblock *pa_memblock_new_pool(pa_mempool *, size_t length);
88 pa_memblock *pa_memblock_new_user(pa_mempool *, void *data, size_t length, pa_free_cb_t free_cb, vo…
91 static inline pa_memblock *pa_memblock_new_malloced(pa_mempool *p, void *data, size_t length) { in pa_memblock_new_malloced()
96 pa_memblock *pa_memblock_new_fixed(pa_mempool *, void *data, size_t length, bool read_only);
98 void pa_memblock_unref(pa_memblock*b);
99 pa_memblock* pa_memblock_ref(pa_memblock*b);
107 void pa_memblock_unref_fixed(pa_memblock*b);
109 bool pa_memblock_is_ours(pa_memblock *b);
[all …]
Dmemblock.c65 struct pa_memblock { struct
143 pa_memblock *block;
211 static void stat_add(pa_memblock*b) { in stat_add()
231 static void stat_remove(pa_memblock *b) { in stat_remove()
252 static pa_memblock *memblock_new_appended(pa_mempool *p, size_t length);
255 pa_memblock *pa_memblock_new(pa_mempool *p, size_t length) { in pa_memblock_new()
256 pa_memblock *b; in pa_memblock_new()
268 static pa_memblock *memblock_new_appended(pa_mempool *p, size_t length) { in memblock_new_appended()
269 pa_memblock *b; in memblock_new_appended()
279 b = pa_xmalloc(PA_ALIGN(sizeof(pa_memblock)) + length); in memblock_new_appended()
[all …]
Dsample-util.h36 pa_memblock* blocks[PA_SAMPLE_MAX];
44 pa_memblock* pa_silence_memblock(pa_memblock *b, const pa_sample_spec *spec);
Dsample-util.c44 pa_memblock *pa_silence_memblock(pa_memblock* b, const pa_sample_spec *spec) { in pa_silence_memblock()
180 static pa_memblock *silence_memblock_new(pa_mempool *pool, uint8_t c) { in silence_memblock_new()
181 pa_memblock *b; in silence_memblock_new()
218 pa_memblock *b; in pa_silence_memchunk_get()
Dmemchunk.h32 pa_memblock *memblock;
Dsrbchannel.h34 pa_memblock *memblock;
Dmemchunk.c36 pa_memblock *n; in pa_memchunk_make_writable()
Dpstream.c114 pa_memblock *memblock;
745 pa_memblock *release_memblock = NULL; in do_write()
862 pa_memblock *release_memblock = NULL; in do_read()
1027 pa_memblock *b = NULL; in do_read()
Dsrbchannel.c81 pa_memblock *memblock;
Dprotocol-simple.c61 pa_memblock *current_memblock;
Dresampler.c1272 pa_memblock *new_block = pa_memblock_new(r->mempool, len); in fit_buf()
Dprotocol-esound.c103 pa_memblock *current_memblock;
/third_party/pulseaudio/src/tests/
Dlfe-filter-test.c42 static void save_data_block(struct lfe_filter_test *lft, void *d, pa_memblock *blk) { in save_data_block()
51 static pa_memblock* generate_data_block(struct lfe_filter_test *lft, int start) { in generate_data_block()
52 pa_memblock *r; in generate_data_block()
Dmemblock-test.c74 pa_memblock *mb_a, *mb_b, *mb_c; in START_TEST()
76 pa_memblock* blocks[5]; in START_TEST()
Dmix-test.c209 static pa_memblock* generate_block(pa_mempool *pool, const pa_sample_spec *ss) { in generate_block()
210 pa_memblock *r; in generate_block()
Dresampler-test.c127 static pa_memblock* generate_block(pa_mempool *pool, const pa_sample_spec *ss) { in generate_block()
128 pa_memblock *r; in generate_block()
/third_party/pulseaudio/src/pulsecore/resampler/
Dffmpeg.c47 pa_memblock *b, *w; in ffmpeg_resample()
/third_party/pulseaudio/src/pulse/
Dinternal.h184 pa_memblock *write_memblock;
Dcontext.c359 static void handle_srbchannel_memblock(pa_context *c, pa_memblock *memblock) { in handle_srbchannel_memblock()
/third_party/pulseaudio/src/modules/rtp/
Drtp-native.c89 pa_memblock* mb[MAX_IOVECS]; in pa_rtp_send()
/third_party/pulseaudio/src/modules/oss/
Dmodule-oss.c132 pa_memblock **in_mmap_memblocks, **out_mmap_memblocks;
1366 u->in_mmap_memblocks = pa_xnew0(pa_memblock*, u->in_nfrags); in pa__init()
1438 u->out_mmap_memblocks = pa_xnew0(pa_memblock*, u->out_nfrags); in pa__init()