/third_party/pulseaudio/src/modules/bluetooth/ |
D | a2dp-codec-sbc.c | 111 …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 …]
|
D | a2dp-codec-aptx-gst.c | 92 …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()
|
D | a2dp-codec-api.h | 58 …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 *…
|
D | a2dp-codec-ldac-gst.c | 75 …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()
|
D | bluez5-util.c | 470 …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/ |
D | daemon-conf.c | 106 .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()
|
D | ohos_daemon-conf.c | 106 .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()
|
D | daemon-conf.h | 136 pa_sample_spec default_sample_spec; member
|
D | main.c | 1197 c->default_sample_spec = conf->default_sample_spec;
|
D | ohos_pa_main.c | 1224 c->default_sample_spec = conf->default_sample_spec; in real_main()
|
/third_party/pulseaudio/src/pulsecore/ |
D | core.c | 156 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()
|
D | core.h | 188 pa_sample_spec default_sample_spec; member
|
D | protocol-simple.c | 738 o->sample_spec = c->default_sample_spec; in pa_simple_options_parse()
|
/third_party/pulseaudio/src/modules/ |
D | module-waveout.c | 669 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()
|
D | module-null-source.c | 214 ss = m->core->default_sample_spec; in pa__init()
|
D | module-pipe-source.c | 221 ss = m->core->default_sample_spec; in pa__init()
|
D | module-zeroconf-discover.c | 157 ss = u->core->default_sample_spec; in resolver_cb()
|
D | module-null-sink.c | 332 ss = m->core->default_sample_spec; in pa__init()
|
D | module-pipe-sink.c | 432 ss = m->core->default_sample_spec; in pa__init()
|
D | module-esound-sink.c | 586 ss = m->core->default_sample_spec; in pa__init()
|
D | module-tunnel-source-new.c | 638 u->sample_spec = m->core->default_sample_spec; in do_init()
|
D | module-tunnel-sink-new.c | 666 u->sample_spec = m->core->default_sample_spec; in do_init()
|
/third_party/pulseaudio/src/modules/dbus/ |
D | iface-core.c | 495 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/ |
D | module-jack-source.c | 309 channels = m->core->default_sample_spec.channels; in pa__init()
|
D | module-jack-sink.c | 367 channels = m->core->default_sample_spec.channels; in pa__init()
|