Searched refs:nfrags (Results 1 – 5 of 5) sorted by relevance
/third_party/pulseaudio/src/modules/oss/ |
D | module-oss.c | 127 int nfrags, frag_size, orig_frag_size; member 562 if (u->nfrags >= 2 && u->frag_size >= 1) in unsuspend() 563 if (pa_oss_set_fragments(u->fd, u->nfrags, u->orig_frag_size) < 0) { in unsuspend() 580 in_nfrags = out_nfrags = u->nfrags; in unsuspend() 1177 int nfrags, orig_frag_size, frag_size; in pa__init() local 1215 nfrags = (int) m->core->default_n_fragments; in pa__init() 1220 …if (pa_modargs_get_value_s32(ma, "fragments", &nfrags) < 0 || pa_modargs_get_value_s32(ma, "fragme… in pa__init() 1251 if (nfrags >= 2 && frag_size >= 1) in pa__init() 1252 if (pa_oss_set_fragments(fd, nfrags, frag_size) < 0) in pa__init() 1276 u->in_nfrags = u->out_nfrags = (uint32_t) (u->nfrags = nfrags); in pa__init()
|
D | oss-util.c | 232 int pa_oss_set_fragments(int fd, int nfrags, int frag_size) { in pa_oss_set_fragments() argument 237 arg = ((int) nfrags << 16) | pa_ulog2(frag_size); in pa_oss_set_fragments() 239 …pa_log_debug("Asking for %i fragments of size %i (requested %i)", nfrags, 1 << pa_ulog2(frag_size)… in pa_oss_set_fragments()
|
/third_party/pulseaudio/src/modules/ |
D | module-waveout.c | 507 int nfrags, frag_size; in pa__init() local 595 nfrags = 5; in pa__init() 597 …if (pa_modargs_get_value_s32(ma, "fragments", &nfrags) < 0 || pa_modargs_get_value_s32(ma, "fragme… in pa__init() 696 u->fragments = nfrags; in pa__init()
|
/third_party/pulseaudio/src/modules/alsa/ |
D | alsa-source.c | 108 size_t nfrags; member 1023 u->hwbuf_size = u->initial_info.nfrags * u->fragment_size; in update_size() 1959 uint32_t nfrags, frag_size, buffer_size, tsched_size, tsched_watermark; in pa_alsa_source_new() local 2011 nfrags = m->core->default_n_fragments; in pa_alsa_source_new() 2018 if (pa_modargs_get_value_u32(ma, "fragments", &nfrags) < 0 || in pa_alsa_source_new() 2026 buffer_size = nfrags * frag_size; in pa_alsa_source_new() 2066 u->initial_info.nfrags = (size_t) nfrags; in pa_alsa_source_new()
|
D | alsa-sink.c | 120 size_t nfrags; member 1141 u->hwbuf_size = u->initial_info.nfrags * u->fragment_size; in update_size() 2253 uint32_t nfrags, frag_size, buffer_size, tsched_size, tsched_watermark, rewind_safeguard; in pa_alsa_sink_new() local 2306 nfrags = m->core->default_n_fragments; in pa_alsa_sink_new() 2313 if (pa_modargs_get_value_u32(ma, "fragments", &nfrags) < 0 || in pa_alsa_sink_new() 2321 buffer_size = nfrags * frag_size; in pa_alsa_sink_new() 2367 u->initial_info.nfrags = (size_t) nfrags; in pa_alsa_sink_new()
|