Home
last modified time | relevance | path

Searched refs:default_sample_spec (Results 1 – 25 of 37) sorted by relevance

12

/third_party/pulseaudio/src/modules/bluetooth/
Da2dp-codec-sbc.c111 …oint(const pa_hashmap *capabilities_hashmap, const pa_sample_spec *default_sample_spec, bool for_e… in choose_remote_endpoint() argument
125 …t_xq(const pa_hashmap *capabilities_hashmap, const pa_sample_spec *default_sample_spec, bool for_e… in choose_remote_endpoint_xq() argument
415 static uint8_t fill_preferred_configuration(const pa_sample_spec *default_sample_spec, const uint8_… in fill_preferred_configuration() argument
439 …if (freq_table[i].rate >= default_sample_spec->rate && (capabilities->frequency & freq_table[i].ca… in fill_preferred_configuration()
460 if (default_sample_spec->channels <= 1) { in fill_preferred_configuration()
530 static uint8_t fill_preferred_configuration_xq(const pa_sample_spec *default_sample_spec, const uin… in fill_preferred_configuration_xq() argument
554 …if (freq_table[i].rate >= default_sample_spec->rate && (capabilities->frequency & freq_table[i].ca… in fill_preferred_configuration_xq()
575 if (default_sample_spec->channels <= 1) { in fill_preferred_configuration_xq()
627 static uint8_t fill_preferred_configuration_xq_453kbps(const pa_sample_spec *default_sample_spec, c… in fill_preferred_configuration_xq_453kbps() argument
628 …return fill_preferred_configuration_xq(default_sample_spec, capabilities_buffer, capabilities_size… in fill_preferred_configuration_xq_453kbps()
[all …]
Da2dp-codec-aptx-gst.c92 …oint(const pa_hashmap *capabilities_hashmap, const pa_sample_spec *default_sample_spec, bool for_e… in choose_remote_endpoint() argument
106 …t_hd(const pa_hashmap *capabilities_hashmap, const pa_sample_spec *default_sample_spec, bool for_e… in choose_remote_endpoint_hd() argument
185 static int fill_preferred_configuration_common(const pa_sample_spec *default_sample_spec, const a2d… in fill_preferred_configuration_common() argument
214 …if (freq_table[i].rate >= default_sample_spec->rate && (capabilities->frequency & freq_table[i].ca… in fill_preferred_configuration_common()
237 static uint8_t fill_preferred_configuration(const pa_sample_spec *default_sample_spec, const uint8_… in fill_preferred_configuration() argument
248 …if (fill_preferred_configuration_common(default_sample_spec, capabilities, config, APTX_VENDOR_ID,… in fill_preferred_configuration()
254 static uint8_t fill_preferred_configuration_hd(const pa_sample_spec *default_sample_spec, const uin… in fill_preferred_configuration_hd() argument
265 …if (fill_preferred_configuration_common(default_sample_spec, &capabilities->aptx, &config->aptx, A… in fill_preferred_configuration_hd()
Da2dp-codec-api.h58 …int)(const pa_hashmap *capabilities_hashmap, const pa_sample_spec *default_sample_spec, bool for_e…
64 …uint8_t (*fill_preferred_configuration)(const pa_sample_spec *default_sample_spec, const uint8_t *…
Da2dp-codec-ldac-gst.c75 …oint(const pa_hashmap *capabilities_hashmap, const pa_sample_spec *default_sample_spec, bool for_e… in choose_remote_endpoint() argument
131 static int fill_preferred_configuration_common(const pa_sample_spec *default_sample_spec, const a2d… in fill_preferred_configuration_common() argument
160 …if (freq_table[i].rate >= default_sample_spec->rate && (capabilities->frequency & freq_table[i].ca… in fill_preferred_configuration_common()
183 static uint8_t fill_preferred_configuration(const pa_sample_spec *default_sample_spec, const uint8_… in fill_preferred_configuration() argument
194 …if (fill_preferred_configuration_common(default_sample_spec, capabilities, config, LDAC_VENDOR_ID,… in fill_preferred_configuration()
Dbluez5-util.c470 …se_remote_endpoint(capabilities_hashmap, &device->discovery->core->default_sample_spec, is_a2dp_si… in pa_bluetooth_device_switch_codec()
473 …g_size = endpoint_conf->fill_preferred_configuration(&device->discovery->core->default_sample_spec, in pa_bluetooth_device_switch_codec()
2607 …config_size = endpoint_conf->fill_preferred_configuration(&y->core->default_sample_spec, cap, size… in endpoint_select_configuration()
/third_party/pulseaudio/src/daemon/
Ddaemon-conf.c106 .default_sample_spec = { .format = PA_SAMPLE_S16NE, .rate = 44100, .channels = 2 },
346 c->default_sample_spec.format = f; in parse_sample_format()
363 c->default_sample_spec.rate = r; in parse_sample_rate()
403 i->conf->default_sample_spec.channels = (uint8_t) n; in parse_sample_channels()
700 c->default_channel_map.channels != c->default_sample_spec.channels) { in pa_daemon_conf_load()
705 …pa_channel_map_init_extend(&c->default_channel_map, c->default_sample_spec.channels, PA_CHANNEL_MA… in pa_daemon_conf_load()
707 c->default_sample_spec.channels = c->default_channel_map.channels; in pa_daemon_conf_load()
827 …intf(s, "default-sample-format = %s\n", pa_sample_format_to_string(c->default_sample_spec.format)); in pa_daemon_conf_dump()
828 pa_strbuf_printf(s, "default-sample-rate = %u\n", c->default_sample_spec.rate); in pa_daemon_conf_dump()
830 pa_strbuf_printf(s, "default-sample-channels = %u\n", c->default_sample_spec.channels); in pa_daemon_conf_dump()
Dohos_daemon-conf.c106 .default_sample_spec = { .format = PA_SAMPLE_S16NE, .rate = 44100, .channels = 2 },
346 c->default_sample_spec.format = f; in parse_sample_format()
363 c->default_sample_spec.rate = r; in parse_sample_rate()
403 i->conf->default_sample_spec.channels = (uint8_t) n; in parse_sample_channels()
700 c->default_channel_map.channels != c->default_sample_spec.channels) { in pa_daemon_conf_load()
705 …pa_channel_map_init_extend(&c->default_channel_map, c->default_sample_spec.channels, PA_CHANNEL_MA… in pa_daemon_conf_load()
707 c->default_sample_spec.channels = c->default_channel_map.channels; in pa_daemon_conf_load()
827 …intf(s, "default-sample-format = %s\n", pa_sample_format_to_string(c->default_sample_spec.format)); in pa_daemon_conf_dump()
828 pa_strbuf_printf(s, "default-sample-rate = %u\n", c->default_sample_spec.rate); in pa_daemon_conf_dump()
830 pa_strbuf_printf(s, "default-sample-channels = %u\n", c->default_sample_spec.channels); in pa_daemon_conf_dump()
Ddaemon-conf.h136 pa_sample_spec default_sample_spec; member
Dmain.c1197 c->default_sample_spec = conf->default_sample_spec;
Dohos_pa_main.c1224 c->default_sample_spec = conf->default_sample_spec; in real_main()
/third_party/pulseaudio/src/pulsecore/
Dcore.c156 c->default_sample_spec.format = PA_SAMPLE_S16NE; in pa_core_new()
157 c->default_sample_spec.rate = 44100; in pa_core_new()
158 c->default_sample_spec.channels = 2; in pa_core_new()
159 …pa_channel_map_init_extend(&c->default_channel_map, c->default_sample_spec.channels, PA_CHANNEL_MA… in pa_core_new()
Dcore.h188 pa_sample_spec default_sample_spec; member
Dprotocol-simple.c738 o->sample_spec = c->default_sample_spec; in pa_simple_options_parse()
/third_party/pulseaudio/src/modules/
Dmodule-waveout.c669 ss = m->core->default_sample_spec; in pa__init()
684 ss.rate = wf.Format.nSamplesPerSec = m->core->default_sample_spec.rate; in pa__init()
704 ss.rate = wf.Format.nSamplesPerSec = m->core->default_sample_spec.rate; in pa__init()
Dmodule-null-source.c214 ss = m->core->default_sample_spec; in pa__init()
Dmodule-pipe-source.c221 ss = m->core->default_sample_spec; in pa__init()
Dmodule-zeroconf-discover.c157 ss = u->core->default_sample_spec; in resolver_cb()
Dmodule-null-sink.c332 ss = m->core->default_sample_spec; in pa__init()
Dmodule-pipe-sink.c432 ss = m->core->default_sample_spec; in pa__init()
Dmodule-esound-sink.c586 ss = m->core->default_sample_spec; in pa__init()
Dmodule-tunnel-source-new.c638 u->sample_spec = m->core->default_sample_spec; in do_init()
Dmodule-tunnel-sink-new.c666 u->sample_spec = m->core->default_sample_spec; in do_init()
/third_party/pulseaudio/src/modules/dbus/
Diface-core.c495 c->core->default_sample_spec.channels = n_channels; in handle_set_default_channels()
508 default_sample_format = c->core->default_sample_spec.format; in handle_get_default_sample_format()
529 c->core->default_sample_spec.format = default_sample_format; in handle_set_default_sample_format()
542 default_sample_rate = c->core->default_sample_spec.rate; in handle_get_default_sample_rate()
563 c->core->default_sample_spec.rate = default_sample_rate; in handle_set_default_sample_rate()
1101 default_sample_format = c->core->default_sample_spec.format; in handle_get_all()
1102 default_sample_rate = c->core->default_sample_spec.rate; in handle_get_all()
/third_party/pulseaudio/src/modules/jack/
Dmodule-jack-source.c309 channels = m->core->default_sample_spec.channels; in pa__init()
Dmodule-jack-sink.c367 channels = m->core->default_sample_spec.channels; in pa__init()

12