Home
last modified time | relevance | path

Searched refs:prebuf (Results 1 – 25 of 75) sorted by relevance

123

/third_party/pulseaudio/src/pulsecore/
Dmemblockq.c51 size_t maxlength, tlength, base, prebuf, minreq, maxrewind; member
67 size_t prebuf, in pa_memblockq_new() argument
85 …ngth, (unsigned long) tlength, (unsigned long) bq->base, (unsigned long) prebuf, (unsigned long) m… in pa_memblockq_new()
92 pa_memblockq_set_prebuf(bq, prebuf); in pa_memblockq_new()
96 …nsigned long) bq->tlength, (unsigned long) bq->base, (unsigned long) bq->prebuf, (unsigned long) b… in pa_memblockq_new()
448 return pa_memblockq_get_length(bq) < bq->prebuf; in pa_memblockq_prebuf_active()
450 return bq->prebuf > 0 && bq->read_index >= bq->write_index; in pa_memblockq_prebuf_active()
458 if (pa_memblockq_get_length(bq) < bq->prebuf) in update_prebuf()
465 if (bq->prebuf > 0 && bq->read_index >= bq->write_index) { in update_prebuf()
803 if (bq->prebuf > 0) in pa_memblockq_prebuf_force()
[all …]
Dmemblockq.h72 size_t prebuf,
162 void pa_memblockq_set_prebuf(pa_memblockq *memblockq, size_t prebuf);
Dprotocol-native.c761 pa_tagstruct_putu32(t, s->buffer_attr.prebuf); in playback_stream_process_msg()
785 (long) s->buffer_attr_req.prebuf); in fix_playback_buffer_attr()
791 …(unsigned long) (pa_bytes_to_usec(s->buffer_attr_req.prebuf, &s->sink_input->sample_spec) / PA_USE… in fix_playback_buffer_attr()
935 if (s->buffer_attr.prebuf == (uint32_t) -1 || in fix_playback_buffer_attr()
936 s->buffer_attr.prebuf > max_prebuf) in fix_playback_buffer_attr()
937 s->buffer_attr.prebuf = max_prebuf; in fix_playback_buffer_attr()
944 …(unsigned long) (pa_bytes_to_usec(s->buffer_attr.prebuf, &s->sink_input->sample_spec) / PA_USEC_PE… in fix_playback_buffer_attr()
1082 s->buffer_attr.prebuf, in playback_stream_new()
1681 pa_tagstruct_putu32(t, s->buffer_attr.prebuf); in sink_input_moving_cb()
1916 PA_TAG_U32, &attr.prebuf, in command_create_playback_stream()
[all …]
/third_party/pulseaudio/src/tests/
Dmemblockq-test.c125 size_t prebuf = pa_memblockq_get_prebuf(bq); in check_queue_invariants() local
154 ck_assert_int_eq(prebuf % base, 0); in check_queue_invariants()
155 ck_assert_int_ge(prebuf, 0); in check_queue_invariants()
156 ck_assert_int_le(prebuf, tlength + base - minreq); in check_queue_invariants()
157 ck_assert_int_le(prebuf, tlength); in check_queue_invariants()
196 size_t prebuf = 16; in START_TEST() local
205 …bq = pa_memblockq_new("test memblockq", idx, maxlength, tlength, &ss, prebuf, minreq, maxrewind, &… in START_TEST()
213 ck_assert_int_eq(pa_memblockq_get_prebuf(bq), prebuf); in START_TEST()
349 size_t prebuf = 16; 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.c216 …buffer_attr.prebuf = 0; /* Setting prebuf to 0 guarantees us the stream will run synchronously, no… in context_state_callback()
232 buffer_attr.prebuf = 0; in context_state_callback()
Dextended-test.c51 ….prebuf = 0, /* Setting prebuf to 0 guarantees us the streams will run synchronously, no matter wh…
Dsync-playback.c57 ….prebuf = 0, /* Setting prebuf to 0 guarantees us the streams will run synchronously, no matter wh…
Dconnect-stress.c118 ….prebuf = 0, /* Setting prebuf to 0 guarantees us the streams will run synchronously, no matter wh…
Dinterpol-test.c112 attr.prebuf = (uint32_t) -1; in context_state_callback()
/third_party/gstreamer/gstplugins_good/gst/cutter/
Dgstcutter.c288 GstBuffer *prebuf; /* pointer to a prebuffer element */ in gst_cutter_chain() local
369 prebuf = (g_list_first (filter->pre_buffer))->data; in gst_cutter_chain()
370 filter->pre_buffer = g_list_remove (filter->pre_buffer, prebuf); in gst_cutter_chain()
371 gst_pad_push (filter->srcpad, prebuf); in gst_cutter_chain()
388 prebuf = (g_list_first (filter->pre_buffer))->data; in gst_cutter_chain()
389 g_assert (GST_IS_BUFFER (prebuf)); in gst_cutter_chain()
391 psize = gst_buffer_get_size (prebuf); in gst_cutter_chain()
394 filter->pre_buffer = g_list_remove (filter->pre_buffer, prebuf); in gst_cutter_chain()
399 ret = gst_pad_push (filter->srcpad, prebuf); in gst_cutter_chain()
401 gst_buffer_unref (prebuf); in gst_cutter_chain()
/third_party/ffmpeg/libavdevice/
Dpulse_audio_enc.c42 int prebuf; member
481 if (s->prebuf) in pulse_write_header()
482 buffer_attributes.prebuf = s->prebuf; in pulse_write_header()
591 s->prebuf = buffer_attributes.prebuf; in pulse_write_header()
594 s->buffer_size, s->prebuf, s->minreq); in pulse_write_header()
768 …{ "prebuf", "set pre-buffering size", OFFSET(prebuf), AV_OPT_TYPE_INT,…
/third_party/libwebsockets/lib/roles/h1/
Dops-h1.c719 unsigned char *buf, prebuf[LWS_PRE + 1024]; in rops_handle_POLLOUT_h1() local
724 if (len > sizeof(prebuf) - LWS_PRE) in rops_handle_POLLOUT_h1()
725 len = sizeof(prebuf) - LWS_PRE; in rops_handle_POLLOUT_h1()
728 memcpy(prebuf + LWS_PRE, buf, len); in rops_handle_POLLOUT_h1()
738 n = lws_write(wsi, prebuf + LWS_PRE, len, LWS_WRITE_HTTP); in rops_handle_POLLOUT_h1()
/third_party/pulseaudio/src/pulse/
Dstream.c165 s->buffer_attr.prebuf = (uint32_t) -1; in pa_stream_new_with_proplist_internal()
467 else if (force_start || s->buffer_attr.prebuf == 0) { in check_smoother_status()
502 uint32_t maxlength = 0, fragsize = 0, minreq = 0, tlength = 0, prebuf = 0; in pa_command_stream_moved() local
537 pa_tagstruct_getu32(t, &prebuf) < 0 || in pa_command_stream_moved()
571 s->buffer_attr.prebuf = prebuf; 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
632 pa_tagstruct_getu32(t, &prebuf) < 0 || in pa_command_stream_buffer_attr()
659 s->buffer_attr.prebuf = prebuf; in pa_command_stream_buffer_attr()
898 if (s->buffer_attr.prebuf > 0) in pa_command_overflow_or_underflow()
1008 attr->prebuf = (uint32_t) -1; in patch_buffer_attr()
[all …]
Ddef.h424 uint32_t prebuf; member
/third_party/pulseaudio/src/modules/
Dmodule-tunnel.c237 uint32_t prebuf; member
342 uint32_t channel, maxlength, tlength = 0, fragsize, prebuf, minreq; in command_stream_buffer_attr_changed() local
368 pa_tagstruct_getu32(t, &prebuf) < 0 || in command_stream_buffer_attr_changed()
1496 pa_tagstruct_getu32(t, &u->prebuf) < 0 || in create_stream_callback()
1663 u->prebuf = u->tlength; in setup_complete_callback()
1682 pa_tagstruct_putu32(reply, u->prebuf); in setup_complete_callback()
2225 u->tlength = u->minreq = u->prebuf = (uint32_t) -1; in pa__init()
Dmodule-tunnel-sink-new.c128 bufferattr->prebuf = (uint32_t) -1; in reset_bufferattr()
Dmodule-tunnel-source-new.c117 bufferattr->prebuf = (uint32_t) -1; in reset_bufferattr()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/pulseaudio/
DSDL_pulseaudio.c583 paattr.prebuf = -1; in PULSEAUDIO_OpenDevice()
590 paattr.prebuf = h->mixlen*2; in PULSEAUDIO_OpenDevice()
/third_party/gstreamer/gstplugins_good/ext/pulse/
Dpulsesrc.c1520 wanted.prebuf = 0; in gst_pulsesrc_prepare()
1526 GST_INFO_OBJECT (pulsesrc, "prebuf: %d", wanted.prebuf); in gst_pulsesrc_prepare()
1585 GST_INFO_OBJECT (pulsesrc, "prebuf: %d", actual->prebuf); in gst_pulsesrc_prepare()
Dpulsesink.c966 wanted.prebuf = 0; in gst_pulseringbuffer_acquire()
971 GST_INFO_OBJECT (psink, "prebuf: %d", wanted.prebuf); in gst_pulseringbuffer_acquire()
1037 GST_INFO_OBJECT (psink, "prebuf: %d", actual->prebuf); in gst_pulseringbuffer_acquire()
/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()
470 buffer_attr.prebuf = (uint32_t) -1; in context_state_callback()
Dpadsp.c1049 attr.prebuf = (uint32_t) i->fragment_size; in create_playback_stream()
/third_party/ffmpeg/doc/
Doutdevs.texi353 @item prebuf
355 playback before at least @option{prebuf} bytes are available in the
/third_party/pulseaudio/
DPROTOCOL14 prebuf
/third_party/pulseaudio/vala/
Dlibpulse.vapi1164 uint32 prebuf;
1239 public Operation? prebuf(SuccessCb? cb = null);

123