Home
last modified time | relevance | path

Searched refs:minreq (Results 1 – 25 of 73) sorted by relevance

123

/third_party/pulseaudio/src/pulsecore/
Dmemblockq.c51 size_t maxlength, tlength, base, prebuf, minreq, maxrewind; member
68 size_t minreq, in pa_memblockq_new() argument
85 …ength, (unsigned long) bq->base, (unsigned long) prebuf, (unsigned long) minreq, (unsigned long) m… in pa_memblockq_new()
91 pa_memblockq_set_minreq(bq, minreq); in pa_memblockq_new()
96 …unsigned long) bq->base, (unsigned long) bq->prebuf, (unsigned long) bq->minreq, (unsigned long) b… in pa_memblockq_new()
745 return bq->minreq; in pa_memblockq_get_minreq()
831 if (((size_t) bq->missing < bq->minreq) && in pa_memblockq_pop_missing()
872 if (bq->minreq > bq->tlength) in pa_memblockq_set_tlength()
875 if (bq->prebuf > bq->tlength+bq->base-bq->minreq) in pa_memblockq_set_tlength()
876 pa_memblockq_set_prebuf(bq, bq->tlength+bq->base-bq->minreq); in pa_memblockq_set_tlength()
[all …]
Dmemblockq.h73 size_t minreq,
161 void pa_memblockq_set_minreq(pa_memblockq *memblockq, size_t minreq); /* might modify prebuf, too */
Dprotocol-native.c762 pa_tagstruct_putu32(t, s->buffer_attr.minreq); in playback_stream_process_msg()
784 (long) s->buffer_attr_req.minreq, in fix_playback_buffer_attr()
790 …(unsigned long) (pa_bytes_to_usec(s->buffer_attr_req.minreq, &s->sink_input->sample_spec) / PA_USE… in fix_playback_buffer_attr()
814 if (s->buffer_attr.minreq == (uint32_t) -1) { in fix_playback_buffer_attr()
820 s->buffer_attr.minreq = PA_MIN(process, m); in fix_playback_buffer_attr()
822 if (s->buffer_attr.minreq <= 0) in fix_playback_buffer_attr()
823 s->buffer_attr.minreq = (uint32_t) frame_size; in fix_playback_buffer_attr()
825 if (s->buffer_attr.tlength < s->buffer_attr.minreq+frame_size) in fix_playback_buffer_attr()
826 s->buffer_attr.tlength = s->buffer_attr.minreq+(uint32_t) frame_size; in fix_playback_buffer_attr()
829 …orig_minreq_usec = minreq_usec = pa_bytes_to_usec(s->buffer_attr.minreq, &s->sink_input->sample_sp… in fix_playback_buffer_attr()
[all …]
/third_party/pulseaudio/src/tests/
Dmemblockq-test.c124 size_t minreq = pa_memblockq_get_minreq(bq); in check_queue_invariants() local
146 ck_assert_int_eq(minreq % base, 0); in check_queue_invariants()
147 ck_assert_int_ge(minreq, base); in check_queue_invariants()
148 ck_assert_int_le(minreq, tlength); in check_queue_invariants()
156 ck_assert_int_le(prebuf, tlength + base - minreq); in check_queue_invariants()
197 size_t minreq = 8; in START_TEST() local
205 …bq = pa_memblockq_new("test memblockq", idx, maxlength, tlength, &ss, prebuf, minreq, maxrewind, &… in START_TEST()
214 ck_assert_int_eq(pa_memblockq_get_minreq(bq), minreq); in START_TEST()
350 size_t minreq = 20; in START_TEST() local
358 …bq = pa_memblockq_new("test memblockq", idx, maxlength, tlength, &ss, prebuf, minreq, maxrewind, &… in START_TEST()
[all …]
Dlo-test-util.c217 buffer_attr.minreq = -1; in context_state_callback()
233 buffer_attr.minreq = (uint32_t) -1; in context_state_callback()
Dsync-playback.c58 .minreq = (uint32_t) -1,
Dextended-test.c52 .minreq = (uint32_t) -1,
Dconnect-stress.c119 .minreq = (uint32_t) -1,
Dinterpol-test.c113 attr.minreq = (uint32_t) -1; in context_state_callback()
/third_party/ffmpeg/libavdevice/
Dpulse_audio_enc.c43 int minreq; member
483 if (s->minreq) in pulse_write_header()
484 buffer_attributes.minreq = s->minreq; in pulse_write_header()
592 s->minreq = buffer_attributes.minreq; in pulse_write_header()
594 s->buffer_size, s->prebuf, s->minreq); in pulse_write_header()
650 while (pa_stream_writable_size(s->stream) < s->minreq) { in pulse_write_packet()
662 if ((writable_size = pa_stream_writable_size(s->stream)) >= s->minreq) in pulse_write_packet()
769 …{ "minreq", "set minimum request size", OFFSET(minreq), AV_OPT_TYPE_INT,…
/third_party/pulseaudio/src/pulse/
Dstream.c164 s->buffer_attr.minreq = (uint32_t) -1; in pa_stream_new_with_proplist_internal()
502 uint32_t maxlength = 0, fragsize = 0, minreq = 0, tlength = 0, prebuf = 0; in pa_command_stream_moved() local
538 pa_tagstruct_getu32(t, &minreq) < 0 || in pa_command_stream_moved()
572 s->buffer_attr.minreq = minreq; in pa_command_stream_moved()
602 uint32_t maxlength = 0, fragsize = 0, minreq = 0, tlength = 0, prebuf = 0; in pa_command_stream_buffer_attr() local
633 pa_tagstruct_getu32(t, &minreq) < 0 || in pa_command_stream_buffer_attr()
660 s->buffer_attr.minreq = minreq; in pa_command_stream_buffer_attr()
1007 attr->minreq = (uint32_t) -1; in patch_buffer_attr()
1031 if (attr->minreq == (uint32_t) -1) in patch_buffer_attr()
1032 …attr->minreq = (attr->tlength)/5; /* Ask for more data when there are only 200ms left in the playb… in patch_buffer_attr()
[all …]
Ddef.h443 uint32_t minreq; member
/third_party/pulseaudio/src/utils/
Dpacat.c331 … maxlength=%u, tlength=%u, prebuf=%u, minreq=%u"), a->maxlength, a->tlength, a->prebuf, a->minreq); in stream_state_callback()
482 … buffer_attr.minreq = pa_usec_to_bytes(process_time_msec * PA_USEC_PER_MSEC, &sample_spec); in context_state_callback()
484 buffer_attr.minreq = (uint32_t) process_time; in context_state_callback()
486 buffer_attr.minreq = (uint32_t) -1; in context_state_callback()
Dpadsp.c1050 attr.minreq = (uint32_t) i->fragment_size; in create_playback_stream()
/third_party/pulseaudio/src/modules/
Dmodule-tunnel.c236 uint32_t minreq; member
342 uint32_t channel, maxlength, tlength = 0, fragsize, prebuf, minreq; in command_stream_buffer_attr_changed() local
369 pa_tagstruct_getu32(t, &minreq) < 0 || in command_stream_buffer_attr_changed()
1497 pa_tagstruct_getu32(t, &u->minreq) < 0) in create_stream_callback()
1662 …u->minreq = (uint32_t) pa_usec_to_bytes(PA_USEC_PER_MSEC * DEFAULT_MINREQ_MSEC, &u->sink->sample_s… in setup_complete_callback()
1683 pa_tagstruct_putu32(reply, u->minreq); in setup_complete_callback()
2225 u->tlength = u->minreq = u->prebuf = (uint32_t) -1; in pa__init()
Dmodule-tunnel-source-new.c115 bufferattr->minreq = (uint32_t) -1; in reset_bufferattr()
Dmodule-tunnel-sink-new.c126 bufferattr->minreq = (uint32_t) -1; in reset_bufferattr()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/pulseaudio/
DSDL_pulseaudio.c586 paattr.minreq = h->mixlen; in PULSEAUDIO_OpenDevice()
592 paattr.minreq = h->mixlen; in PULSEAUDIO_OpenDevice()
/third_party/gstreamer/gstplugins_good/ext/pulse/
Dpulsesrc.c1521 wanted.minreq = -1; in gst_pulsesrc_prepare()
1527 GST_INFO_OBJECT (pulsesrc, "minreq: %d", wanted.minreq); in gst_pulsesrc_prepare()
1586 GST_INFO_OBJECT (pulsesrc, "minreq: %d (wanted %d)", actual->minreq, in gst_pulsesrc_prepare()
1587 wanted.minreq); in gst_pulsesrc_prepare()
Dpulsesink.c967 wanted.minreq = spec->segsize; in gst_pulseringbuffer_acquire()
972 GST_INFO_OBJECT (psink, "minreq: %d", wanted.minreq); in gst_pulseringbuffer_acquire()
1038 GST_INFO_OBJECT (psink, "minreq: %d (wanted %d)", actual->minreq, in gst_pulseringbuffer_acquire()
1039 wanted.minreq); in gst_pulseringbuffer_acquire()
1041 spec->segsize = actual->minreq; in gst_pulseringbuffer_acquire()
/third_party/ffmpeg/doc/
Doutdevs.texi359 @item minreq
361 than @option{minreq} bytes from the client, instead waits until the buffer
/third_party/pulseaudio/
DPROTOCOL15 minreq
/third_party/pulseaudio/po/
Dhi.po1259 msgid "Buffer metrics: maxlength=%u, tlength=%u, prebuf=%u, minreq=%u"
1260 msgstr "बफ़र मेट्रिक्स: maxlength=%u, tlength=%u, prebuf=%u, minreq=%u"
Dzh_CN.po1601 msgid "Buffer metrics: maxlength=%u, tlength=%u, prebuf=%u, minreq=%u"
1602 msgstr "缓冲量度:maxlength=%u, tlength=%u, prebuf=%u, minreq=%u"
Dbe.po1663 msgid "Buffer metrics: maxlength=%u, tlength=%u, prebuf=%u, minreq=%u"
1664 msgstr "Метрыкі буфера: maxlength=%u, tlength=%u, prebuf=%u, minreq=%u"

123