/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | gstaudioringbuffer.c | 184 GST_DEBUG ("acquire ringbuffer: total segments: %d", spec->segtotal); in gst_audio_ring_buffer_debug_spec_buff() 189 spec->segsize * spec->segtotal, in gst_audio_ring_buffer_debug_spec_buff() 190 (bpf != 0) ? (spec->segsize * spec->segtotal / bpf) : -1); in gst_audio_ring_buffer_debug_spec_buff() 332 spec->segtotal = spec->buffer_time / spec->latency_time; in gst_audio_ring_buffer_parse_caps() 635 spec->segtotal); in gst_audio_ring_buffer_acquire() 636 buf->timestamps = g_slice_alloc0 (sizeof (GstClockTime) * spec->segtotal); in gst_audio_ring_buffer_acquire() 638 for (i = 0; i < spec->segtotal; i++) { in gst_audio_ring_buffer_acquire() 648 buf->spec.seglatency = buf->spec.segtotal; in gst_audio_ring_buffer_acquire() 729 buf->spec.segtotal); in gst_audio_ring_buffer_release() 730 g_slice_free1 (sizeof (GstClockTime) * buf->spec.segtotal, buf->timestamps); in gst_audio_ring_buffer_release() [all …]
|
D | gstaudiobasesrc.c | 547 spec->segtotal = spec->buffer_time / spec->latency_time; in gst_audio_base_src_setcaps() 561 spec->segtotal * spec->segsize * GST_MSECOND / (rate * bpf); in gst_audio_base_src_setcaps() 625 gst_util_uint64_scale_int (spec->segtotal * spec->segsize, GST_SECOND, in gst_audio_base_src_query() 703 gint readseg, segdone, segtotal, sps; in gst_audio_base_src_get_offset() local 710 segtotal = src->ringbuffer->spec.segtotal; in gst_audio_base_src_get_offset() 727 if (diff >= segtotal) { in gst_audio_base_src_get_offset() 944 if ((segment_skew >= ringbuffer->spec.segtotal) || in gst_audio_base_src_create()
|
D | gstaudiosink.c | 413 spec->seglatency = spec->segtotal + 1; in gst_audio_sink_ring_buffer_acquire() 415 buf->size = spec->segtotal * spec->segsize; in gst_audio_sink_ring_buffer_acquire()
|
D | gstaudioringbuffer.h | 147 gint segtotal; /* total number of segments, this value is the member
|
D | gstaudiosrc.c | 384 buf->size = spec->segtotal * spec->segsize; in gst_audio_src_ring_buffer_acquire()
|
/third_party/gstreamer/gstplugins_good/sys/oss/ |
D | gstosssink.c | 457 tmp = ((spec->segtotal & 0x7fff) << 16) | tmp; in gst_oss_sink_prepare() 459 spec->segsize, spec->segtotal, tmp); in gst_oss_sink_prepare() 465 spec->segtotal = info.fragstotal; in gst_oss_sink_prepare() 470 spec->segsize, spec->segtotal, tmp); in gst_oss_sink_prepare()
|
D | gstosssrc.c | 437 tmp = ((spec->segtotal & 0x7fff) << 16) | tmp; in gst_oss_src_prepare() 439 spec->segsize, spec->segtotal, tmp); in gst_oss_src_prepare() 454 spec->segtotal = info.fragstotal; in gst_oss_src_prepare() 459 spec->segsize, spec->segtotal, tmp); in gst_oss_src_prepare()
|
D | gstossdmabuffer.c | 164 if (count.blocks > buf->spec.segtotal) in gst_ossdmabuffer_func() 165 count.blocks = buf->spec.segtotal; in gst_ossdmabuffer_func() 250 buf->spec.segtotal = info.fragstotal; in gst_ossdmabuffer_acquire()
|
/third_party/gstreamer/gstplugins_good/sys/osxaudio/ |
D | gstosxaudioringbuffer.c | 193 spec->segtotal = 10; in gst_osx_audio_ring_buffer_acquire() 227 spec->segtotal = spec->buffer_time / spec->latency_time; in gst_osx_audio_ring_buffer_acquire() 238 buf->size = spec->segtotal * spec->segsize; in gst_osx_audio_ring_buffer_acquire()
|
/third_party/gstreamer/gstplugins_good/ext/jack/ |
D | gstjackaudiosrc.c | 444 spec->segtotal = spec->buffer_time / spec->latency_time; in gst_jack_ring_buffer_acquire() 447 if (spec->segtotal < 2 || src->low_latency) { in gst_jack_ring_buffer_acquire() 448 spec->segtotal = 2; in gst_jack_ring_buffer_acquire() 449 spec->buffer_time = spec->latency_time * spec->segtotal; in gst_jack_ring_buffer_acquire() 457 buffer_size, spec->segsize, spec->segtotal); in gst_jack_ring_buffer_acquire() 460 buf->size = spec->segtotal * spec->segsize; in gst_jack_ring_buffer_acquire()
|
D | gstjackaudiosink.c | 436 spec->segtotal = spec->buffer_time / spec->latency_time; in gst_jack_ring_buffer_acquire() 439 if (spec->segtotal < 2 || sink->low_latency) { in gst_jack_ring_buffer_acquire() 440 spec->segtotal = 2; in gst_jack_ring_buffer_acquire() 441 spec->buffer_time = spec->latency_time * spec->segtotal; in gst_jack_ring_buffer_acquire() 449 buffer_size, spec->segsize, spec->segtotal); in gst_jack_ring_buffer_acquire() 452 buf->size = spec->segtotal * spec->segsize; in gst_jack_ring_buffer_acquire()
|
/third_party/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/ |
D | gstdshowaudiosrc.cpp | 545 spec->segtotal = (gint) ((gfloat) spec->buffer_time / in gst_dshowaudiosrc_prepare() 552 spec->segtotal = 2; in gst_dshowaudiosrc_prepare() 554 GST_INFO ("Configuring with segsize:%d segtotal:%d", spec->segsize, spec->segtotal); in gst_dshowaudiosrc_prepare()
|
/third_party/gstreamer/gstplugins_bad/sys/asio/ |
D | gstasioringbuffer.cpp | 322 spec->segtotal = 2; in gst_asio_ring_buffer_acquire() 324 buf->size = spec->segtotal * spec->segsize; in gst_asio_ring_buffer_acquire()
|
/third_party/gstreamer/gstplugins_bad/sys/directsound/ |
D | gstdirectsoundsrc.c | 527 spec->segtotal = dsoundsrc->buffer_size / spec->segsize; in gst_directsound_src_prepare() 529 spec->seglatency = spec->segtotal + 2; in gst_directsound_src_prepare() 560 spec->segtotal); in gst_directsound_src_prepare()
|
/third_party/gstreamer/gstplugins_good/sys/directsound/ |
D | gstdirectsoundsink.c | 509 spec->segtotal = dsoundsink->buffer_size / spec->segsize; in gst_directsound_sink_prepare() 521 spec->segtotal = 10; in gst_directsound_sink_prepare() 528 dsoundsink->buffer_size = spec->segsize * spec->segtotal; in gst_directsound_sink_prepare()
|
/third_party/gstreamer/gstplugins_good/sys/oss4/ |
D | oss4-audio.c | 644 spec->segtotal = info.fragstotal + 4; in gst_oss4_audio_set_format() 647 spec->segsize, spec->segtotal, info.fragsize); in gst_oss4_audio_set_format()
|
/third_party/gstreamer/gstplugins_good/ext/pulse/ |
D | pulsesrc.c | 1518 wanted.maxlength = spec->segsize * spec->segtotal; in gst_pulsesrc_prepare() 1599 spec->segtotal = actual->maxlength / spec->segsize; in gst_pulsesrc_prepare() 1601 if (spec->segtotal < 2) in gst_pulsesrc_prepare() 1602 spec->segtotal = 2; in gst_pulsesrc_prepare()
|
D | pulsesink.c | 964 wanted.tlength = spec->segtotal * spec->segsize; in gst_pulseringbuffer_acquire() 1042 spec->segtotal = actual->tlength / spec->segsize; in gst_pulseringbuffer_acquire() 1492 bufsize = buf->spec.segsize * buf->spec.segtotal; in gst_pulseringbuffer_commit()
|
/third_party/gstreamer/gstplugins_bad/sys/wasapi/ |
D | gstwasapisink.c | 522 spec->segtotal = MAX (self->buffer_frame_count * bpf / spec->segsize, 2); in gst_wasapi_sink_prepare() 525 spec->segtotal); in gst_wasapi_sink_prepare()
|
D | gstwasapisrc.c | 634 spec->segtotal = MAX (buffer_frames * bpf / spec->segsize, 2); in gst_wasapi_src_prepare() 637 spec->segtotal); in gst_wasapi_src_prepare()
|
/third_party/gstreamer/gstplugins_bad/sys/opensles/ |
D | openslesringbuffer.c | 391 SL_DATALOCATOR_ANDROIDSIMPLEBUFFERQUEUE, MIN (4, MAX (spec->segtotal >> 1, in _opensles_player_acquire() 843 rb->size = spec->segtotal * spec->segsize; in gst_opensles_ringbuffer_acquire()
|
/third_party/gstreamer/gstplugins_bad/sys/tinyalsa/ |
D | tinyalsasink.c | 331 spec->segtotal = config.period_count; in gst_tinyalsa_sink_prepare()
|
/third_party/gstreamer/gstplugins_bad/sys/wasapi2/ |
D | gstwasapi2ringbuffer.cpp | 1063 spec->segtotal = 2; in gst_wasapi2_ring_buffer_acquire() 1113 buf->size = spec->segtotal * spec->segsize; in gst_wasapi2_ring_buffer_acquire()
|
/third_party/gstreamer/gstplugins_base/ext/alsa/ |
D | gstalsasrc.c | 818 spec->segtotal = alsa->buffer_size / alsa->period_size; in gst_alsasrc_prepare()
|
/third_party/gstreamer/gstplugins_bad/ext/openal/ |
D | gstopenalsink.c | 833 sink->buffer_count = spec->segtotal; in gst_openal_sink_parse_spec()
|