/third_party/pulseaudio/src/pulsecore/ |
D | play-memblockq.c | 38 pa_memblockq *memblockq; member 65 if (u->memblockq) in memblockq_stream_free() 66 pa_memblockq_free(u->memblockq); in memblockq_stream_free() 117 if (!u->memblockq) in sink_input_pop_cb() 120 if (pa_memblockq_peek(u->memblockq, chunk) < 0) { in sink_input_pop_cb() 124 pa_memblockq_free(u->memblockq); in sink_input_pop_cb() 125 u->memblockq = NULL; in sink_input_pop_cb() 138 pa_memblockq_drop(u->memblockq, chunk->length); in sink_input_pop_cb() 139 pa_assert_se(pa_memblockq_peek(u->memblockq, chunk) >= 0); in sink_input_pop_cb() 143 pa_memblockq_drop(u->memblockq, chunk->length); in sink_input_pop_cb() [all …]
|
D | sound-file-stream.c | 57 pa_memblockq *memblockq; member 87 if (u->memblockq) in file_stream_free() 88 pa_memblockq_free(u->memblockq); in file_stream_free() 145 if (!u->memblockq) in sink_input_pop_cb() 154 if (pa_memblockq_peek(u->memblockq, chunk) >= 0) { in sink_input_pop_cb() 156 pa_memblockq_drop(u->memblockq, chunk->length); in sink_input_pop_cb() 188 pa_memblockq_push_align(u->memblockq, &tchunk); in sink_input_pop_cb() 193 pa_memblockq_free(u->memblockq); in sink_input_pop_cb() 194 u->memblockq = NULL; in sink_input_pop_cb() 209 if (!u->memblockq) in sink_input_process_rewind_cb() [all …]
|
D | memblockq.h | 159 void pa_memblockq_set_maxlength(pa_memblockq *memblockq, size_t maxlength); /* might modify tlength… 160 void pa_memblockq_set_tlength(pa_memblockq *memblockq, size_t tlength); /* might modify minreq, too… 161 void pa_memblockq_set_minreq(pa_memblockq *memblockq, size_t minreq); /* might modify prebuf, too */ 162 void pa_memblockq_set_prebuf(pa_memblockq *memblockq, size_t prebuf); 163 void pa_memblockq_set_maxrewind(pa_memblockq *memblockq, size_t maxrewind); /* Set the maximum hist… 164 void pa_memblockq_set_silence(pa_memblockq *memblockq, pa_memchunk *silence); 167 void pa_memblockq_apply_attr(pa_memblockq *memblockq, const pa_buffer_attr *a);
|
D | protocol-native.c | 91 pa_memblockq *memblockq; member 128 pa_memblockq *memblockq; member 362 pa_memblockq_free(s->memblockq); in record_stream_free() 382 if (pa_memblockq_push_align(s->memblockq, chunk) < 0) { in record_stream_process_msg() 597 s->memblockq = pa_memblockq_new( in record_stream_new() 609 pa_memblockq_get_attr(s->memblockq, &s->buffer_attr); in record_stream_new() 666 pa_memblockq_free(s->memblockq); in playback_stream_free() 1090 start_index = ssync ? pa_memblockq_get_read_index(ssync->memblockq) : 0; in playback_stream_new() 1096 s->memblockq = pa_memblockq_new( in playback_stream_new() 1109 pa_memblockq_get_attr(s->memblockq, &s->buffer_attr); in playback_stream_new() [all …]
|
D | meson.build | 32 'play-memblockq.c', 93 'play-memblockq.h',
|
/third_party/pulseaudio/src/modules/rtp/ |
D | module-rtp-recv.c | 90 pa_memblockq *memblockq; member 139 …*((pa_usec_t*) data) = pa_bytes_to_usec(pa_memblockq_get_length(s->memblockq), &s->sink_input->sam… in sink_input_process_msg() 155 if (pa_memblockq_peek(s->memblockq, chunk) < 0) in sink_input_pop_cb() 158 pa_memblockq_drop(s->memblockq, chunk->length); in sink_input_pop_cb() 170 pa_memblockq_rewind(s->memblockq, nbytes); in sink_input_process_rewind_cb() 180 pa_memblockq_set_maxrewind(s->memblockq, nbytes); in sink_input_update_max_rewind_cb() 199 pa_memblockq_flush_read(s->memblockq); in sink_input_suspend_within_thread() 249 …pa_memblockq_seek(s->memblockq, delta * (int64_t) pa_rtp_context_get_frame_size(s->rtp_context), P… in rtpoll_work_cb() 260 if (pa_memblockq_push(s->memblockq, &chunk) < 0) { in rtpoll_work_cb() 262 pa_memblockq_seek(s->memblockq, (int64_t) chunk.length, PA_SEEK_RELATIVE, true); in rtpoll_work_cb() [all …]
|
D | module-rtp-send.c | 110 pa_memblockq *memblockq; member 127 …*((pa_usec_t*) data) = pa_bytes_to_usec(pa_memblockq_get_length(u->memblockq), &u->source_output->… in source_output_process_msg() 143 if (pa_memblockq_push(u->memblockq, chunk) < 0) { in source_output_push_cb() 148 pa_rtp_send(u->rtp_context, u->memblockq); in source_output_push_cb() 470 u->memblockq = pa_memblockq_new( in pa__init() 556 if (u->memblockq) in pa__done() 557 pa_memblockq_free(u->memblockq); in pa__done()
|
/third_party/pulseaudio/src/modules/ |
D | module-virtual-sink.c | 65 pa_memblockq *memblockq; member 163 pa_memblockq_get_length(u->memblockq), true, false, false); in sink_request_rewind_cb() 234 while (pa_memblockq_peek(u->memblockq, &tchunk) < 0) { in sink_input_pop_cb() 238 pa_memblockq_push(u->memblockq, &nchunk); in sink_input_pop_cb() 256 pa_memblockq_drop(u->memblockq, chunk->length); in sink_input_pop_cb() 302 max_rewrite = nbytes + pa_memblockq_get_length(u->memblockq); in sink_input_process_rewind_cb() 307 pa_memblockq_seek(u->memblockq, - (int64_t) amount, PA_SEEK_RELATIVE, true); in sink_input_process_rewind_cb() 314 pa_memblockq_rewind(u->memblockq, nbytes); in sink_input_process_rewind_cb() 326 pa_memblockq_set_maxrewind(u->memblockq, nbytes); in sink_input_update_max_rewind_cb() 617 …u->memblockq = pa_memblockq_new("module-virtual-sink memblockq", 0, MEMBLOCKQ_MAXLENGTH, 0, &ss, 1… in pa__init() [all …]
|
D | module-loopback.c | 86 pa_memblockq *memblockq; member 724 current_memblockq_length = pa_memblockq_get_length(u->memblockq); in memblockq_adjust() 730 pa_memblockq_drop(u->memblockq, buffer_correction); in memblockq_adjust() 736 pa_memblockq_seek(u->memblockq, (int64_t)buffer_correction, PA_SEEK_RELATIVE, true); in memblockq_adjust() 1033 if (pa_memblockq_peek(u->memblockq, chunk) < 0) { in sink_input_pop_cb() 1039 pa_memblockq_drop(u->memblockq, chunk->length); in sink_input_pop_cb() 1057 pa_memblockq_rewind(u->memblockq, nbytes); in sink_input_process_rewind_cb() 1071 … *r = pa_bytes_to_usec(pa_memblockq_get_length(u->memblockq), &u->sink_input->sample_spec); in sink_input_process_msg_cb() 1080 pa_memblockq_push_align(u->memblockq, chunk); in sink_input_process_msg_cb() 1139 pa_memblockq_is_readable(u->memblockq) && in sink_input_process_msg_cb() [all …]
|
D | module-combine-sink.c | 123 pa_memblockq *memblockq; member 505 while (!pa_memblockq_is_readable(o->memblockq)) { in render_memblock() 524 pa_memblockq_push_align(o->memblockq, &chunk); in render_memblock() 542 if (pa_memblockq_is_readable(o->memblockq)) in request_memblock() 567 if (pa_memblockq_peek(o->memblockq, chunk) < 0) in sink_input_pop_cb() 570 pa_memblockq_drop(o->memblockq, chunk->length); in sink_input_pop_cb() 582 pa_memblockq_rewind(o->memblockq, nbytes); in sink_input_process_rewind_cb() 592 pa_memblockq_set_maxrewind(o->memblockq, nbytes); in sink_input_update_max_rewind_cb() 739 … *r = pa_bytes_to_usec(pa_memblockq_get_length(o->memblockq), &o->sink_input->sample_spec); in sink_input_process_msg() 749 pa_memblockq_push_align(o->memblockq, chunk); in sink_input_process_msg() [all …]
|
D | module-ladspa-sink.c | 94 pa_memblockq *memblockq; member 431 pa_memblockq_get_length(u->memblockq), true, false, false); in sink_request_rewind_cb() 483 while (pa_memblockq_peek(u->memblockq, &tchunk) < 0) { in sink_input_pop_cb() 487 pa_memblockq_push(u->memblockq, &nchunk); in sink_input_pop_cb() 503 pa_memblockq_drop(u->memblockq, chunk->length); in sink_input_pop_cb() 539 max_rewrite = nbytes + pa_memblockq_get_length(u->memblockq); in sink_input_process_rewind_cb() 546 pa_memblockq_seek(u->memblockq, - (int64_t) amount, PA_SEEK_RELATIVE, true); in sink_input_process_rewind_cb() 561 pa_memblockq_rewind(u->memblockq, nbytes); in sink_input_process_rewind_cb() 573 pa_memblockq_set_maxrewind(u->memblockq, nbytes); in sink_input_update_max_rewind_cb() 1374 …u->memblockq = pa_memblockq_new("module-ladspa-sink memblockq", 0, MEMBLOCKQ_MAXLENGTH, 0, &ss, 1,… in pa__init() [all …]
|
D | module-virtual-source.c | 72 pa_memblockq *memblockq; member 540 …u->memblockq = pa_memblockq_new("module-virtual-source memblockq", 0, MEMBLOCKQ_MAXLENGTH, 0, &ss,… in pa__init() 541 if (!u->memblockq) { in pa__init() 748 if (u->memblockq) in pa__done() 749 pa_memblockq_free(u->memblockq); in pa__done()
|
/third_party/pulseaudio/src/ |
D | meson.build | 39 'pulsecore/memblockq.c', 115 'pulsecore/memblockq.h',
|
D | .gitignore | 63 memblockq-test
|
/third_party/pulseaudio/src/tests/ |
D | meson.build | 81 [ 'memblockq-test', 'memblockq-test.c',
|
/third_party/pulseaudio/po/ |
D | POTFILES.in | 115 src/pulsecore/memblockq.c 131 src/pulsecore/play-memblockq.c
|
/third_party/pulseaudio/ohosbuild/src/ |
D | BUILD.gn | 79 "../../src/pulsecore/memblockq.c",
|
/third_party/pulseaudio/ohosbuild/src/pulsecore/ |
D | BUILD.gn | 71 "../../../src/pulsecore/play-memblockq.c",
|