Home
last modified time | relevance | path

Searched refs:default_sink (Results 1 – 23 of 23) sorted by relevance

/third_party/pulseaudio/src/modules/
Dmodule-intended-roles.c93 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()
Dmodule-switch-on-connect.c102 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()
Dmodule-stream-restore.c2038 …if (entry->device_valid && ((m->core->default_sink && pa_safe_streq(device, m->core->default_sink-… in extension_cb()
/third_party/pulseaudio/src/pulse/
Dclient-conf.c58 .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()
Dclient-conf-x11.c91 pa_xfree(c->default_sink); in pa_client_conf_from_x11()
92 c->default_sink = pa_xstrdup(t); in pa_client_conf_from_x11()
Dclient-conf.h31 char *default_sink; member
Dscache.c184 dev = c->conf->default_sink; in pa_context_play_sample()
225 dev = c->conf->default_sink; in pa_context_play_sample_with_proplist()
Dstream.c1268 …dev = s->direction == PA_STREAM_PLAYBACK ? s->context->conf->default_sink : s->context->conf->defa… in create_stream()
/third_party/pulseaudio/src/pulsecore/
Dcore.c112 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()
Dnamereg.c194 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()
Dprotocol-esound.c406 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 …]
Dprotocol-esound.h42 char *default_sink, *default_source; member
Dprotocol-simple.h35 char *default_sink, *default_source; member
Dprotocol-simple.c527 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()
Dcore.h182 pa_sink *default_sink; member
Dcli-command.c391 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()
Dsink.c3963 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()
Dsink-input.c1934 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()
Dcli-text.c229 sink == c->default_sink ? '*' : ' ', in pa_sink_list_to_string()
Dprotocol-native.c3712 pa_tagstruct_puts(reply, core->default_sink ? core->default_sink->name : NULL); in command_get_server_info()
/third_party/pulseaudio/src/utils/
Dpax11publish.c177 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/
Diface-sample.c372 if (!s->sample->core->default_sink) { in handle_play()
380 s->sample->core->default_sink, in handle_play()
Diface-core.c2203 c->fallback_sink = core->default_sink; in pa_dbusiface_core_new()