Home
last modified time | relevance | path

Searched refs:avoid_resampling (Results 1 – 14 of 14) sorted by relevance

/third_party/pulseaudio/src/modules/
Dmodule-udev-detect.c72 bool avoid_resampling:1; member
427 pa_yes_no(u->avoid_resampling)); in card_changed()
700 bool avoid_resampling; in pa__init() local
753 avoid_resampling = m->core->avoid_resampling; in pa__init()
754 if (pa_modargs_get_value_boolean(ma, "avoid_resampling", &avoid_resampling) < 0) { in pa__init()
758 u->avoid_resampling = avoid_resampling; in pa__init()
/third_party/pulseaudio/src/pulsecore/
Dsource.h87 bool avoid_resampling:1; member
318 bool avoid_resampling:1; member
341 void pa_source_new_data_set_avoid_resampling(pa_source_new_data *data, bool avoid_resampling);
Dsink.h86 bool avoid_resampling:1; member
380 bool avoid_resampling:1; member
403 void pa_sink_new_data_set_avoid_resampling(pa_sink_new_data *data, bool avoid_resampling);
Dsource.c107 void pa_source_new_data_set_avoid_resampling(pa_source_new_data *data, bool avoid_resampling) { in pa_source_new_data_set_avoid_resampling() argument
111 data->avoid_resampling = avoid_resampling; in pa_source_new_data_set_avoid_resampling()
269 s->avoid_resampling = data->avoid_resampling; in pa_source_new()
271 s->avoid_resampling = s->core->avoid_resampling; in pa_source_new()
1056 bool avoid_resampling = s->avoid_resampling; in pa_source_reconfigure() local
1064 if (PA_UNLIKELY(default_rate == alternate_rate && !passthrough && !avoid_resampling)) { in pa_source_reconfigure()
1092 } else if (avoid_resampling) { in pa_source_reconfigure()
Dcore.h221 bool avoid_resampling:1; member
Dsink.c116 void pa_sink_new_data_set_avoid_resampling(pa_sink_new_data *data, bool avoid_resampling) { in pa_sink_new_data_set_avoid_resampling() argument
120 data->avoid_resampling = avoid_resampling; in pa_sink_new_data_set_avoid_resampling()
282 s->avoid_resampling = data->avoid_resampling; in pa_sink_new()
284 s->avoid_resampling = s->core->avoid_resampling; in pa_sink_new()
376 pa_source_new_data_set_avoid_resampling(&source_data, s->avoid_resampling); in pa_sink_new()
1475 bool avoid_resampling = s->avoid_resampling; in pa_sink_reconfigure() local
1483 if (PA_UNLIKELY(default_rate == alternate_rate && !passthrough && !avoid_resampling)) { in pa_sink_reconfigure()
1511 } else if (avoid_resampling) { in pa_sink_reconfigure()
/third_party/pulseaudio/src/daemon/
Ddaemon-conf.h70 avoid_resampling, member
Dohos_daemon-conf.c85 .avoid_resampling = false,
608 { "avoid-resampling", pa_config_parse_bool, &c->avoid_resampling, NULL }, in pa_daemon_conf_load()
809 pa_strbuf_printf(s, "avoid-resampling = %s\n", pa_yes_no(c->avoid_resampling)); in pa_daemon_conf_dump()
Ddaemon-conf.c85 .avoid_resampling = false,
608 { "avoid-resampling", pa_config_parse_bool, &c->avoid_resampling, NULL }, in pa_daemon_conf_load()
809 pa_strbuf_printf(s, "avoid-resampling = %s\n", pa_yes_no(c->avoid_resampling)); in pa_daemon_conf_dump()
Dmain.c1055 c->avoid_resampling = conf->avoid_resampling; in main()
Dohos_pa_main.c1090 c->avoid_resampling = conf->avoid_resampling; in ohos_pa_main()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-source.c1970 bool avoid_resampling; in pa_alsa_source_new() local
1982 avoid_resampling = m->core->avoid_resampling; in pa_alsa_source_new()
2232 if (pa_modargs_get_value_boolean(ma, "avoid_resampling", &avoid_resampling) < 0) { in pa_alsa_source_new()
2237 pa_source_new_data_set_avoid_resampling(&data, avoid_resampling); in pa_alsa_source_new()
Dalsa-sink.c2265 bool avoid_resampling; in pa_alsa_sink_new() local
2277 avoid_resampling = m->core->avoid_resampling; in pa_alsa_sink_new()
2545 if (pa_modargs_get_value_boolean(ma, "avoid_resampling", &avoid_resampling) < 0) { in pa_alsa_sink_new()
2550 pa_sink_new_data_set_avoid_resampling(&data, avoid_resampling); in pa_alsa_sink_new()
/third_party/pulseaudio/
DNEWS170 * New "avoid_resampling" module argument for module-udev-detect and module-alsa-card
171 * "avoid_resampling" also tries to avoid format conversion if the ALSA device supports it