Home
last modified time | relevance | path

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

12

/third_party/pulseaudio/src/modules/bluetooth/
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-sbc.c80 …oint(const pa_hashmap *capabilities_hashmap, const pa_sample_spec *default_sample_spec, bool for_e… in choose_remote_endpoint() argument
198 static uint8_t fill_preferred_configuration(const pa_sample_spec *default_sample_spec, const uint8_… in fill_preferred_configuration() argument
222 …if (freq_table[i].rate >= default_sample_spec->rate && (capabilities->frequency & freq_table[i].ca… in fill_preferred_configuration()
243 if (default_sample_spec->channels <= 1) { in fill_preferred_configuration()
/third_party/pulseaudio/src/daemon/
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()
688 c->default_channel_map.channels != c->default_sample_spec.channels) { in pa_daemon_conf_load()
693 …pa_channel_map_init_extend(&c->default_channel_map, c->default_sample_spec.channels, PA_CHANNEL_MA… in pa_daemon_conf_load()
695 c->default_sample_spec.channels = c->default_channel_map.channels; in pa_daemon_conf_load()
815 …intf(s, "default-sample-format = %s\n", pa_sample_format_to_string(c->default_sample_spec.format)); in pa_daemon_conf_dump()
816 pa_strbuf_printf(s, "default-sample-rate = %u\n", c->default_sample_spec.rate); in pa_daemon_conf_dump()
818 pa_strbuf_printf(s, "default-sample-channels = %u\n", c->default_sample_spec.channels); in pa_daemon_conf_dump()
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()
688 c->default_channel_map.channels != c->default_sample_spec.channels) { in pa_daemon_conf_load()
693 …pa_channel_map_init_extend(&c->default_channel_map, c->default_sample_spec.channels, PA_CHANNEL_MA… in pa_daemon_conf_load()
695 c->default_sample_spec.channels = c->default_channel_map.channels; in pa_daemon_conf_load()
815 …intf(s, "default-sample-format = %s\n", pa_sample_format_to_string(c->default_sample_spec.format)); in pa_daemon_conf_dump()
816 pa_strbuf_printf(s, "default-sample-rate = %u\n", c->default_sample_spec.rate); in pa_daemon_conf_dump()
818 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.c1042 c->default_sample_spec = conf->default_sample_spec; in main()
Dohos_pa_main.c1077 c->default_sample_spec = conf->default_sample_spec; in ohos_pa_main()
/third_party/pulseaudio/src/pulsecore/
Dcore.c111 c->default_sample_spec.format = PA_SAMPLE_S16NE; in pa_core_new()
112 c->default_sample_spec.rate = 44100; in pa_core_new()
113 c->default_sample_spec.channels = 2; in pa_core_new()
114 …pa_channel_map_init_extend(&c->default_channel_map, c->default_sample_spec.channels, PA_CHANNEL_MA… in pa_core_new()
Dcore.h186 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.c602 ss = m->core->default_sample_spec; in pa__init()
617 ss.rate = wf.nSamplesPerSec = m->core->default_sample_spec.rate; in pa__init()
637 ss.rate = wf.nSamplesPerSec = m->core->default_sample_spec.rate; in pa__init()
Dmodule-null-source.c208 ss = m->core->default_sample_spec; in pa__init()
Dmodule-pipe-source.c223 ss = m->core->default_sample_spec; in pa__init()
Dmodule-null-sink.c310 ss = m->core->default_sample_spec; in pa__init()
Dmodule-zeroconf-discover.c157 ss = u->core->default_sample_spec; in resolver_cb()
Dmodule-tunnel-sink-new.c487 ss = m->core->default_sample_spec; in pa__init()
Dmodule-tunnel-source-new.c486 ss = m->core->default_sample_spec; in pa__init()
Dmodule-pipe-sink.c435 ss = m->core->default_sample_spec; in pa__init()
Dmodule-esound-sink.c547 ss = m->core->default_sample_spec; in pa__init()
Dmodule-solaris.c899 ss = m->core->default_sample_spec; in pa__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.c303 channels = m->core->default_sample_spec.channels; in pa__init()
Dmodule-jack-sink.c361 channels = m->core->default_sample_spec.channels; in pa__init()
/third_party/pulseaudio/src/modules/raop/
Draop-sink.c713 ss = m->core->default_sample_spec; in pa_raop_sink_new()
/third_party/pulseaudio/src/modules/alsa/
Dmodule-alsa-card.c927 …ofile_set_probe(u->profile_set, u->mixers, u->device_id, &m->core->default_sample_spec, m->core->d… in pa__init()

12