/third_party/flutter/skia/third_party/externals/sdl/src/audio/sun/ |
D | SDL_sunaudio.c | 90 if (left > this->hidden->fragsize) { in SUNAUDIO_WaitDevice() 93 sleepy = ((left - this->hidden->fragsize) / this->hidden->frequency); in SUNAUDIO_WaitDevice() 126 for (pos = 0; pos < this->hidden->fragsize; ++pos) { in SUNAUDIO_PlayDevice() 142 for (pos = 0; pos < this->hidden->fragsize; ++pos) { in SUNAUDIO_PlayDevice() 158 this->hidden->fragsize) < 0) { in SUNAUDIO_PlayDevice() 162 this->hidden->written += this->hidden->fragsize; in SUNAUDIO_PlayDevice() 172 this->hidden->written += this->hidden->fragsize; in SUNAUDIO_PlayDevice() 313 this->hidden->fragsize = (this->spec.samples * 1000) / in SUNAUDIO_OpenDevice() 316 this->hidden->ulaw_buf = (Uint8 *) SDL_malloc(this->hidden->fragsize); in SUNAUDIO_OpenDevice() 322 this->hidden->fragsize = this->spec.samples; in SUNAUDIO_OpenDevice()
|
D | SDL_sunaudio.h | 41 int fragsize; /* The audio fragment size in samples */ member
|
/third_party/lwip/src/core/ipv4/ |
D | ip4_frag.c | 751 u16_t left, fragsize; in ip4_frag() local 776 fragsize = LWIP_MIN(left, (u16_t)(nfb * 8)); in ip4_frag() 779 rambuf = pbuf_alloc(PBUF_IP, fragsize, PBUF_RAM); in ip4_frag() 785 poff += pbuf_copy_partial(p, rambuf->payload, fragsize, poff); in ip4_frag() 809 left_to_copy = fragsize; in ip4_frag() 861 IPH_LEN_SET(iphdr, lwip_htons((u16_t)(fragsize + IP_HLEN))); in ip4_frag() 883 left = (u16_t)(left - fragsize); in ip4_frag()
|
/third_party/gstreamer/gstplugins_good/sys/oss/ |
D | gstossdmabuffer.c | 249 buf->spec.segsize = info.fragsize; in gst_ossdmabuffer_acquire() 251 size = info.fragsize * info.fragstotal; in gst_ossdmabuffer_acquire() 252 g_print ("segsize %d, segtotal %d\n", info.fragsize, info.fragstotal); in gst_ossdmabuffer_acquire()
|
D | gstosssink.c | 464 spec->segsize = info.fragsize; in gst_oss_sink_prepare() 548 delay = (ret < 0 ? 0 : (info.fragstotal * info.fragsize) - info.bytes); in gst_oss_sink_delay()
|
D | gstosssrc.c | 453 spec->segsize = info.fragsize; in gst_oss_src_prepare() 536 delay = (ret < 0 ? 0 : (info.fragstotal * info.fragsize) - info.bytes); in gst_oss_src_delay()
|
/third_party/ffmpeg/libavdevice/ |
D | pulse_audio_dec.c | 164 attr.fragsize = pd->fragment_size; in pulse_read_header() 249 if (!queried_attr || queried_attr->fragsize > INT_MAX/100) { in pulse_read_header() 253 pd->fragment_size = queried_attr->fragsize; in pulse_read_header()
|
/third_party/pulseaudio/src/modules/ |
D | module-tunnel-source-new.c | 114 bufferattr->fragsize = (uint32_t) -1; in reset_bufferattr() 332 bufferattr.fragsize = pa_usec_to_bytes(requested_latency, &u->source->sample_spec); in context_state_cb() 378 if (pa_stream_get_buffer_attr(u->stream)->fragsize == nbytes) in source_update_requested_latency_cb() 382 bufferattr.fragsize = nbytes; in source_update_requested_latency_cb()
|
D | module-tunnel.c | 239 uint32_t fragsize; member 342 uint32_t channel, maxlength, tlength = 0, fragsize, prebuf, minreq; in command_stream_buffer_attr_changed() local 359 if (pa_tagstruct_getu32(t, &fragsize) < 0 || in command_stream_buffer_attr_changed() 1501 pa_tagstruct_getu32(t, &u->fragsize) < 0) in create_stream_callback() 1665 …u->fragsize = (uint32_t) pa_usec_to_bytes(PA_USEC_PER_MSEC * DEFAULT_FRAGSIZE_MSEC, &u->source->sa… in setup_complete_callback() 1700 pa_tagstruct_putu32(reply, u->fragsize); in setup_complete_callback() 2227 u->fragsize = (uint32_t) -1; in pa__init()
|
/third_party/pulseaudio/src/tests/ |
D | lo-test-util.c | 218 buffer_attr.fragsize = -1; in context_state_callback() 234 buffer_attr.fragsize = ctx->sample_spec.rate * ctx->fs * ctx->rec_latency / 1000; in context_state_callback()
|
D | extended-test.c | 53 .fragsize = 0
|
D | connect-stress.c | 120 .fragsize = 0
|
D | sync-playback.c | 59 .fragsize = 0
|
D | interpol-test.c | 114 attr.fragsize = (uint32_t) -1; in context_state_callback()
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | tst_fs_struct.c | 48 check_field(fragsize); in main()
|
/third_party/pulseaudio/src/pulse/ |
D | stream.c | 166 s->buffer_attr.fragsize = (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 529 pa_tagstruct_getu32(t, &fragsize) < 0 || in pa_command_stream_moved() 569 s->buffer_attr.fragsize = fragsize; 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 624 pa_tagstruct_getu32(t, &fragsize) < 0 || in pa_command_stream_buffer_attr() 657 s->buffer_attr.fragsize = fragsize; in pa_command_stream_buffer_attr() 1009 attr->fragsize = attr->tlength; in patch_buffer_attr() 1037 if (attr->fragsize == (uint32_t) -1) in patch_buffer_attr() 1038 … attr->fragsize = attr->tlength; /* Pass data to the app only when the buffer is filled up once */ in patch_buffer_attr() [all …]
|
D | def.h | 453 uint32_t fragsize; member
|
/third_party/gstreamer/gstplugins_good/ext/pulse/ |
D | pulsesrc.c | 1522 wanted.fragsize = spec->segsize; in gst_pulsesrc_prepare() 1528 GST_INFO_OBJECT (pulsesrc, "fragsize: %d", wanted.fragsize); in gst_pulsesrc_prepare() 1589 actual->fragsize, wanted.fragsize); in gst_pulsesrc_prepare() 1591 if (actual->fragsize >= spec->segsize) { in gst_pulsesrc_prepare() 1592 spec->segsize = actual->fragsize; in gst_pulsesrc_prepare()
|
/third_party/pulseaudio/src/modules/oss/ |
D | module-oss.c | 583 in_frag_size = info.fragsize; in unsuspend() 588 out_frag_size = info.fragsize; in unsuspend() 1291 pa_log_info("Input -- %u fragments of size %u.", info.fragstotal, info.fragsize); in pa__init() 1292 u->in_fragment_size = (uint32_t) info.fragsize; in pa__init() 1298 pa_log_info("Output -- %u fragments of size %u.", info.fragstotal, info.fragsize); in pa__init() 1299 u->out_fragment_size = (uint32_t) info.fragsize; in pa__init()
|
/third_party/pulseaudio/src/utils/ |
D | pacat.c | 334 … pa_log(_("Buffer metrics: maxlength=%u, fragsize=%u"), a->maxlength, a->fragsize); in stream_state_callback() 473 …buffer_attr.fragsize = buffer_attr.tlength = pa_usec_to_bytes(latency_msec * PA_USEC_PER_MSEC, &sa… in context_state_callback() 476 buffer_attr.fragsize = buffer_attr.tlength = (uint32_t) latency; in context_state_callback() 479 buffer_attr.fragsize = buffer_attr.tlength = (uint32_t) -1; in context_state_callback()
|
/third_party/gstreamer/gstplugins_good/sys/oss4/ |
D | oss4-source.c | 536 delay = (info.fragstotal * info.fragsize) - info.bytes; in gst_oss4_source_delay() 538 info.fragstotal, info.fragsize, info.bytes, delay); in gst_oss4_source_delay()
|
D | oss4-audio.c | 638 spec->segsize = info.fragsize; in gst_oss4_audio_set_format() 647 spec->segsize, spec->segtotal, info.fragsize); in gst_oss4_audio_set_format()
|
/third_party/pulseaudio/src/pulsecore/ |
D | protocol-native.c | 409 if (s->buffer_attr.fragsize == (uint32_t) -1) in fix_record_buffer_attr_pre() 410 …s->buffer_attr.fragsize = (uint32_t) pa_usec_to_bytes(DEFAULT_FRAGSIZE_MSEC*PA_USEC_PER_MSEC, &s->… in fix_record_buffer_attr_pre() 411 if (s->buffer_attr.fragsize <= 0) in fix_record_buffer_attr_pre() 412 s->buffer_attr.fragsize = (uint32_t) frame_size; in fix_record_buffer_attr_pre() 414 …orig_fragsize_usec = fragsize_usec = pa_bytes_to_usec(s->buffer_attr.fragsize, &s->source_output->… in fix_record_buffer_attr_pre() 472 …s->buffer_attr.fragsize = (uint32_t) pa_usec_to_bytes(fragsize_usec, &s->source_output->sample_spe… in fix_record_buffer_attr_pre() 474 if (s->buffer_attr.fragsize <= 0) in fix_record_buffer_attr_pre() 475 s->buffer_attr.fragsize = (uint32_t) frame_size; in fix_record_buffer_attr_pre() 491 s->buffer_attr.fragsize = (s->buffer_attr.fragsize/base)*base; in fix_record_buffer_attr_post() 492 if (s->buffer_attr.fragsize <= 0) in fix_record_buffer_attr_post() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/dsp/ |
D | SDL_dspaudio.c | 232 fprintf(stderr, "fragsize = %d\n", info.fragsize); in DSP_OpenDevice()
|
/third_party/python/Modules/ |
D | ossaudiodev.c | 664 return PyLong_FromLong((ai.fragstotal * ai.fragsize) / (nchannels * ssize)); in oss_bufsize() 686 return PyLong_FromLong((ai.fragstotal * ai.fragsize - ai.bytes) / in oss_obufcount()
|