/third_party/pulseaudio/src/modules/ |
D | module-intended-roles.c | 93 if (c->default_sink) in sink_input_new_hook_callback() 94 …if (role_match(c->default_sink->proplist, role) && pa_sink_input_new_data_set_sink(new_data, c->de… in sink_input_new_hook_callback() 99 if (s == c->default_sink) in sink_input_new_hook_callback() 271 if (!c->default_sink) in sink_unlink_hook_callback() 286 if (c->default_sink != sink && role_match(c->default_sink->proplist, role)) in sink_unlink_hook_callback() 287 if (pa_sink_input_move_to(si, c->default_sink, false) >= 0) in sink_unlink_hook_callback() 293 if (d == c->default_sink || d == sink) in sink_unlink_hook_callback()
|
D | module-switch-on-connect.c | 102 if (!c->default_sink) { in sink_put_hook_callback() 107 if (c->default_sink == sink) { in sink_put_hook_callback() 113 … if (!c->default_sink->active_port || c->default_sink->active_port->available != PA_AVAILABLE_NO) { in sink_put_hook_callback()
|
D | module-stream-restore.c | 2038 …if (entry->device_valid && ((m->core->default_sink && pa_safe_streq(device, m->core->default_sink-… in extension_cb()
|
/third_party/pulseaudio/src/pulse/ |
D | client-conf.c | 58 .default_sink = NULL, 87 pa_xfree(c->default_sink); in pa_client_conf_free() 101 pa_xfree(c->default_sink); in load_env() 102 c->default_sink = pa_xstrdup(e); in load_env() 137 { "default-sink", pa_config_parse_string, &c->default_sink, NULL }, in pa_client_conf_load()
|
D | client-conf-x11.c | 91 pa_xfree(c->default_sink); in pa_client_conf_from_x11() 92 c->default_sink = pa_xstrdup(t); in pa_client_conf_from_x11()
|
D | client-conf.h | 31 char *default_sink; member
|
D | scache.c | 184 dev = c->conf->default_sink; in pa_context_play_sample() 225 dev = c->conf->default_sink; in pa_context_play_sample_with_proplist()
|
D | stream.c | 1268 …dev = s->direction == PA_STREAM_PLAYBACK ? s->context->conf->default_sink : s->context->conf->defa… in create_stream()
|
/third_party/pulseaudio/src/pulsecore/ |
D | core.c | 112 c->default_sink = NULL; in pa_core_new() 220 pa_assert(!c->default_sink); in core_free() 307 if (b == core->default_sink) in compare_sinks() 309 if (a == core->default_sink) in compare_sinks() 336 old_default_sink = core->default_sink; in pa_core_update_default_sink() 341 core->default_sink = best; in pa_core_update_default_sink() 351 pa_hook_fire(&core->hooks[PA_CORE_HOOK_DEFAULT_SINK_CHANGED], core->default_sink); in pa_core_update_default_sink()
|
D | namereg.c | 194 return c->default_sink; in pa_namereg_get() 197 if (c->default_sink) in pa_namereg_get() 198 return c->default_sink->monitor_source; in pa_namereg_get()
|
D | protocol-esound.c | 406 if (c->options->default_sink) { in esd_proto_stream_play() 407 sink = pa_namereg_get(c->protocol->core, c->options->default_sink, PA_NAMEREG_SINK); in esd_proto_stream_play() 408 CHECK_VALIDITY(sink, "No such sink: %s", pa_strnull(c->options->default_sink)); in esd_proto_stream_play() 497 sink = pa_namereg_get(c->protocol->core, c->options->default_sink, PA_NAMEREG_SINK); in esd_proto_stream_record() 498 CHECK_VALIDITY(sink, "No such sink: %s", pa_strnull(c->options->default_sink)); in esd_proto_stream_record() 571 if (!(sink = pa_namereg_get(c->protocol->core, c->options->default_sink, PA_NAMEREG_SINK))) in esd_proto_get_latency() 593 if ((sink = pa_namereg_get(c->protocol->core, c->options->default_sink, PA_NAMEREG_SINK))) { in esd_proto_server_info() 926 … if ((sink = pa_namereg_get(c->protocol->core, c->options->default_sink, PA_NAMEREG_SINK))) in esd_proto_sample_free_or_play() 976 if ((sink = pa_namereg_get(c->protocol->core, c->options->default_sink, PA_NAMEREG_SINK))) in esd_proto_standby_mode() 1665 pa_xfree(o->default_sink); in pa_esound_options_unref() [all …]
|
D | protocol-esound.h | 42 char *default_sink, *default_source; member
|
D | protocol-simple.h | 35 char *default_sink, *default_source; member
|
D | protocol-simple.c | 527 if (!(sink = pa_namereg_get(c->protocol->core, o->default_sink, PA_NAMEREG_SINK))) { in pa_simple_protocol_connect() 725 pa_xfree(o->default_sink); in pa_simple_options_unref() 747 pa_xfree(o->default_sink); in pa_simple_options_parse() 748 o->default_sink = pa_xstrdup(pa_modargs_get_value(ma, "sink", NULL)); in pa_simple_options_parse()
|
D | core.h | 182 pa_sink *default_sink; member
|
D | cli-command.c | 391 c->default_sink ? c->default_sink->name : "none", in pa_cli_command_stat() 1860 if (c->default_sink) { in pa_cli_command_dump() 1866 pa_strbuf_printf(buf, "set-default-sink %s\n", c->default_sink->name); in pa_cli_command_dump()
|
D | sink.c | 3963 if (core->default_sink == NULL || core->default_sink->unlink_requested) in pa_sink_move_streams_to_default_sink() 3966 if (old_sink == core->default_sink) in pa_sink_move_streams_to_default_sink() 3984 if (!pa_sink_input_may_move_to(i, core->default_sink)) in pa_sink_move_streams_to_default_sink() 3989 …ex, pa_strnull(pa_proplist_gets(i->proplist, PA_PROP_APPLICATION_NAME)), core->default_sink->name); in pa_sink_move_streams_to_default_sink() 3992 …ex, pa_strnull(pa_proplist_gets(i->proplist, PA_PROP_APPLICATION_NAME)), core->default_sink->name); in pa_sink_move_streams_to_default_sink() 3994 pa_sink_input_move_to(i, core->default_sink, false); in pa_sink_move_streams_to_default_sink()
|
D | sink-input.c | 1934 if (dest == dest->core->default_sink) in pa_sink_input_finish_move() 1983 if (i->core->rescue_streams && pa_sink_input_may_move_to(i, i->core->default_sink)) { in pa_sink_input_fail_move() 1984 if (pa_sink_input_finish_move(i, i->core->default_sink, false) >= 0) in pa_sink_input_fail_move() 2447 pa_sink_input_move_to(i, i->core->default_sink, false); in pa_sink_input_set_preferred_sink()
|
D | cli-text.c | 229 sink == c->default_sink ? '*' : ' ', in pa_sink_list_to_string()
|
D | protocol-native.c | 3712 pa_tagstruct_puts(reply, core->default_sink ? core->default_sink->name : NULL); in command_get_server_info()
|
/third_party/pulseaudio/src/utils/ |
D | pax11publish.c | 177 else if (conf->default_sink) in main() 178 pa_x11_set_prop(xcb, screen, "PULSE_SINK", conf->default_sink); in main()
|
/third_party/pulseaudio/src/modules/dbus/ |
D | iface-sample.c | 372 if (!s->sample->core->default_sink) { in handle_play() 380 s->sample->core->default_sink, in handle_play()
|
D | iface-core.c | 2203 c->fallback_sink = core->default_sink; in pa_dbusiface_core_new()
|