Home
last modified time | relevance | path

Searched refs:pa_memchunk (Results 1 – 25 of 100) sorted by relevance

1234

/third_party/pulseaudio/src/pulsecore/
Dmemchunk.h23 typedef struct pa_memchunk pa_memchunk; typedef
31 struct pa_memchunk { struct
41 pa_memchunk* pa_memchunk_make_writable(pa_memchunk *c, size_t min); argument
45 pa_memchunk* pa_memchunk_reset(pa_memchunk *c);
48 pa_memchunk *pa_memchunk_will_need(const pa_memchunk *c);
51 pa_memchunk* pa_memchunk_memcpy(pa_memchunk *dst, pa_memchunk *src);
54 bool pa_memchunk_isset(pa_memchunk *c);
Dmemchunk.c34 pa_memchunk* pa_memchunk_make_writable(pa_memchunk *c, size_t min) { in pa_memchunk_make_writable()
70 pa_memchunk* pa_memchunk_reset(pa_memchunk *c) { in pa_memchunk_reset()
78 pa_memchunk *pa_memchunk_will_need(const pa_memchunk *c) { in pa_memchunk_will_need()
91 return (pa_memchunk*) c; in pa_memchunk_will_need()
94 pa_memchunk* pa_memchunk_memcpy(pa_memchunk *dst, pa_memchunk *src) { in pa_memchunk_memcpy()
114 bool pa_memchunk_isset(pa_memchunk *chunk) { in pa_memchunk_isset()
Dresampler.h39 …unsigned (*resample)(pa_resampler *r, const pa_memchunk *in, unsigned in_n_frames, pa_memchunk *ou…
85 pa_memchunk to_work_format_buf;
86 pa_memchunk remap_buf;
87 pa_memchunk resample_buf;
88 pa_memchunk from_work_format_buf;
95 pa_memchunk *leftover_buf;
139 void pa_resampler_run(pa_resampler *r, const pa_memchunk *in, pa_memchunk *out);
Dmemblockq.h75 pa_memchunk *silence);
80 int pa_memblockq_push(pa_memblockq* bq, const pa_memchunk *chunk);
85 int pa_memblockq_push_align(pa_memblockq* bq, const pa_memchunk *chunk);
96 int pa_memblockq_peek(pa_memblockq* bq, pa_memchunk *chunk);
101 int pa_memblockq_peek_fixed_size(pa_memblockq *bq, size_t block_size, pa_memchunk *chunk);
164 void pa_memblockq_set_silence(pa_memblockq *memblockq, pa_memchunk *silence);
Dsample-util.h43 pa_memchunk* pa_silence_memchunk(pa_memchunk *c, const pa_sample_spec *spec);
46 pa_memchunk* pa_silence_memchunk_get(pa_silence_cache *cache, pa_mempool *pool, pa_memchunk* ret, c…
77 void pa_memchunk_dump_to_file(pa_memchunk *c, const char *fn);
79 void pa_memchunk_sine(pa_memchunk *c, pa_mempool *pool, unsigned rate, unsigned freq);
Dasyncmsgq.h58 …gobject *object, int code, const void *userdata, int64_t offset, const pa_memchunk *memchunk, pa_f…
59 …pa_msgobject *object, int code, const void *userdata, int64_t offset, const pa_memchunk *memchunk);
61 …q, pa_msgobject **object, int *code, void **userdata, int64_t *offset, pa_memchunk *memchunk, bool…
62 …gq_dispatch(pa_msgobject *object, int code, void *userdata, int64_t offset, pa_memchunk *memchunk);
Dasyncmsgq.c47 pa_memchunk memchunk;
118 …gobject *object, int code, const void *userdata, int64_t offset, const pa_memchunk *chunk, pa_free… in pa_asyncmsgq_post()
144 …, pa_msgobject *object, int code, const void *userdata, int64_t offset, const pa_memchunk *chunk) { in pa_asyncmsgq_send()
176 …a, pa_msgobject **object, int *code, void **userdata, int64_t *offset, pa_memchunk *chunk, bool wa… in pa_asyncmsgq_get()
247 pa_memchunk chunk; in pa_asyncmsgq_wait_for()
267 pa_memchunk chunk; in pa_asyncmsgq_process_one()
320 …q_dispatch(pa_msgobject *object, int code, void *userdata, int64_t offset, pa_memchunk *memchunk) { in pa_asyncmsgq_dispatch()
336 pa_memchunk chunk; in pa_asyncmsgq_flush()
Dmcalign.h69 void pa_mcalign_push(pa_mcalign *m, const pa_memchunk *c);
73 int pa_mcalign_pop(pa_mcalign *m, pa_memchunk *c);
Dmix.h30 pa_memchunk chunk;
58 pa_memchunk*c,
Dmcalign.c35 pa_memchunk leftover, current;
63 void pa_mcalign_push(pa_mcalign *m, const pa_memchunk *c) { in pa_mcalign_push()
132 int pa_mcalign_pop(pa_mcalign *m, pa_memchunk *c) { in pa_mcalign_pop()
211 pa_memchunk chunk; in pa_mcalign_flush()
Dsample-util.c57 pa_memchunk* pa_silence_memchunk(pa_memchunk *c, const pa_sample_spec *spec) { in pa_silence_memchunk()
217 pa_memchunk* pa_silence_memchunk_get(pa_silence_cache *cache, pa_mempool *pool, pa_memchunk* ret, c… in pa_silence_memchunk_get()
338 void pa_memchunk_dump_to_file(pa_memchunk *c, const char *fn) { in pa_memchunk_dump_to_file()
373 void pa_memchunk_sine(pa_memchunk *c, pa_mempool *pool, unsigned rate, unsigned freq) { in pa_memchunk_sine()
Dsink.h115 pa_memchunk silence;
522 void pa_sink_render(pa_sink*s, size_t length, pa_memchunk *result);
523 void pa_sink_render_full(pa_sink *s, size_t length, pa_memchunk *result);
524 void pa_sink_render_into(pa_sink*s, pa_memchunk *target);
525 void pa_sink_render_into_full(pa_sink *s, pa_memchunk *target);
529 int pa_sink_process_msg(pa_msgobject *o, int code, void *userdata, int64_t offset, pa_memchunk *chu…
Dplay-memchunk.c36 const pa_memchunk *chunk, in pa_play_memchunk()
44 pa_memchunk silence; in pa_play_memchunk()
Dsink-input.h142 int (*pop) (pa_sink_input *i, size_t request_nbytes, pa_memchunk *chunk); /* may NOT be NULL */
409 void pa_sink_input_peek(pa_sink_input *i, size_t length, pa_memchunk *chunk, pa_cvolume *volume);
417 …k_input_process_msg(pa_msgobject *o, int code, void *userdata, int64_t offset, pa_memchunk *chunk);
424 pa_memchunk* pa_sink_input_get_silence(pa_sink_input *i, pa_memchunk *ret);
Dmemblockq.c42 pa_memchunk chunk;
54 pa_memchunk silence;
70 pa_memchunk *silence) { in pa_memblockq_new()
277 int pa_memblockq_push(pa_memblockq* bq, const pa_memchunk *uchunk) { in pa_memblockq_push()
279 pa_memchunk chunk; in pa_memblockq_push()
474 int pa_memblockq_peek(pa_memblockq* bq, pa_memchunk *chunk) { in pa_memblockq_peek()
532 int pa_memblockq_peek_fixed_size(pa_memblockq *bq, size_t block_size, pa_memchunk *chunk) { in pa_memblockq_peek_fixed_size()
534 pa_memchunk tchunk, rchunk; in pa_memblockq_peek_fixed_size()
766 int pa_memblockq_push_align(pa_memblockq* bq, const pa_memchunk *chunk) { in pa_memblockq_push_align()
767 pa_memchunk rchunk; in pa_memblockq_push_align()
[all …]
Dcore-scache.h40 pa_memchunk memchunk;
50 …char *name, const pa_sample_spec *ss, const pa_channel_map *map, const pa_memchunk *chunk, pa_prop…
Dsound-file-stream.c97 …_stream_process_msg(pa_msgobject *o, int code, void*userdata, int64_t offset, pa_memchunk *chunk) { in file_stream_process_msg()
137 static int sink_input_pop_cb(pa_sink_input *i, size_t length, pa_memchunk *chunk) { in sink_input_pop_cb()
149 pa_memchunk tchunk; in sink_input_pop_cb()
239 pa_memchunk silence; in pa_play_file()
Dpstream.h40 …tream *p, uint32_t channel, int64_t offset, pa_seek_mode_t seek, const pa_memchunk *chunk, void *u…
54 …ock(pa_pstream*p, uint32_t channel, int64_t offset, pa_seek_mode_t seek, const pa_memchunk *chunk);
/third_party/pulseaudio/src/modules/raop/
Draop-packet-buffer.c39 pa_memchunk *packets;
58 pb->packets = pa_xnew0(pa_memchunk, size); in pa_raop_packet_buffer_new()
96 pa_memchunk *pa_raop_packet_buffer_prepare(pa_raop_packet_buffer *pb, uint16_t seq, const size_t si… in pa_raop_packet_buffer_prepare()
97 pa_memchunk *packet = NULL; in pa_raop_packet_buffer_prepare()
132 pa_memchunk *pa_raop_packet_buffer_retrieve(pa_raop_packet_buffer *pb, uint16_t seq) { in pa_raop_packet_buffer_retrieve()
133 pa_memchunk *packet = NULL; in pa_raop_packet_buffer_retrieve()
Draop-packet-buffer.h37 pa_memchunk *pa_raop_packet_buffer_prepare(pa_raop_packet_buffer *pb, uint16_t seq, const size_t si…
38 pa_memchunk *pa_raop_packet_buffer_retrieve(pa_raop_packet_buffer *pb, uint16_t seq);
/third_party/pulseaudio/src/tests/
Dmemblockq-test.c48 static pa_memchunk memchunk_from_str(pa_mempool *p, const char* data) in memchunk_from_str()
50 pa_memchunk res; in memchunk_from_str()
62 static void dump_chunk(const pa_memchunk *chunk, pa_strbuf *buf) { in dump_chunk()
78 pa_memchunk out; in dump()
167 pa_memchunk chunk; in START_TEST()
187 pa_memchunk silence; in START_TEST()
240 pa_memchunk chunk1, chunk2, chunk3, chunk4; in START_TEST()
241 pa_memchunk silence; in START_TEST()
340 pa_memchunk silence, data; in START_TEST()
402 pa_memchunk silence, data, chunk; in START_TEST()
[all …]
Dmcalign-test.c37 pa_memchunk c; in main()
84 pa_memchunk t; in main()
/third_party/pulseaudio/src/pulsecore/resampler/
Dspeex.c57 …igned speex_resample_float(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frames, pa_mem… in speex_resample_float()
93 …nsigned speex_resample_int(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frames, pa_mem… in speex_resample_int()
/third_party/pulseaudio/src/pulsecore/filter/
Dlfe-filter.c33 pa_memchunk chunk;
87 static void process_block(pa_lfe_filter_t *f, pa_memchunk *buf, bool store_result) { in process_block()
112 pa_memchunk * pa_lfe_filter_process(pa_lfe_filter_t *f, pa_memchunk *buf) { in pa_lfe_filter_process()
192 pa_memchunk x = s->chunk; in pa_lfe_filter_rewind()
Dlfe-filter.h36 pa_memchunk * pa_lfe_filter_process(pa_lfe_filter_t *filter, pa_memchunk *buf);

1234