Lines Matching refs:fragment_size
78 uint32_t fragments, fragment_size; member
141 while (hdr->dwBufferLength < u->fragment_size) { in do_write()
144 len = u->fragment_size - hdr->dwBufferLength; in do_write()
348 … return pa_bytes_to_usec((u->fragments - free_frags) * u->fragment_size, &u->sink->sample_spec); in sink_get_latency()
362 r += pa_bytes_to_usec((free_frags + 1) * u->fragment_size, &u->source->sample_spec); in source_get_latency()
699 u->fragment_size = frag_size - (frag_size % pa_frame_size(&ss)); in pa__init()
704 u->poll_timeout = pa_bytes_to_usec(u->fragments * u->fragment_size / 10, &ss); in pa__init()
714 u->ihdrs[i].dwBufferLength = u->fragment_size; in pa__init()
715 u->ohdrs[i].dwBufferLength = u->fragment_size; in pa__init()
716 u->ihdrs[i].lpData = pa_xmalloc(u->fragment_size); in pa__init()
718 u->ohdrs[i].lpData = pa_xmalloc(u->fragment_size); in pa__init()