Home
last modified time | relevance | path

Searched refs:default_source (Results 1 – 24 of 24) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/openal/
Dgstopenalsink.c253 sink->default_source = 0; in gst_openal_sink_init()
319 ALuint source = sink->default_source; in gst_openal_sink_get_property()
875 sink->default_source = sink->user_source; in gst_openal_sink_prepare()
885 sink->default_source = source; in gst_openal_sink_prepare()
917 if (!sink->user_source && sink->default_source) in gst_openal_sink_prepare()
918 alDeleteSources (1, &sink->default_source); in gst_openal_sink_prepare()
919 sink->default_source = 0; in gst_openal_sink_prepare()
943 alSourceStop (sink->default_source); in gst_openal_sink_unprepare()
944 alSourcei (sink->default_source, AL_BUFFER, 0); in gst_openal_sink_unprepare()
947 alDeleteSources (1, &sink->default_source); in gst_openal_sink_unprepare()
[all …]
Dgstopenalsink.h83 ALuint default_source; member
/third_party/pulseaudio/src/modules/
Dmodule-intended-roles.c137 if (c->default_source) in source_output_new_hook_callback()
138 if (role_match(c->default_source->proplist, role)) { in source_output_new_hook_callback()
139 pa_source_output_new_data_set_source(new_data, c->default_source, false, false); in source_output_new_hook_callback()
147 if (s == c->default_source) in source_output_new_hook_callback()
322 if (!c->default_source) in source_unlink_hook_callback()
340 if (c->default_source != source && role_match(c->default_source->proplist, role) in source_unlink_hook_callback()
341 && !source->monitor_of == !c->default_source->monitor_of) { in source_unlink_hook_callback()
342 pa_source_output_move_to(so, c->default_source, false); in source_unlink_hook_callback()
349 if (d == c->default_source || d == source) in source_unlink_hook_callback()
Dmodule-switch-on-connect.c162 if (!c->default_source) { in source_put_hook_callback()
167 if (c->default_source == source) { in source_put_hook_callback()
173 …if (!c->default_source->active_port || c->default_source->active_port->available != PA_AVAILABLE_N… in source_put_hook_callback()
Dmodule-stream-restore.c2039 (m->core->default_source && pa_safe_streq(device, m->core->default_source->name)))) { in extension_cb()
/third_party/pulseaudio/src/pulse/
Dclient-conf.c59 .default_source = NULL,
88 pa_xfree(c->default_source); in pa_client_conf_free()
106 pa_xfree(c->default_source); in load_env()
107 c->default_source = pa_xstrdup(e); in load_env()
138 { "default-source", pa_config_parse_string, &c->default_source, NULL }, in pa_client_conf_load()
Dclient-conf-x11.c96 pa_xfree(c->default_source); in pa_client_conf_from_x11()
97 c->default_source = pa_xstrdup(t); in pa_client_conf_from_x11()
Dclient-conf.h32 char *default_source; member
Dstream.c1268 …irection == PA_STREAM_PLAYBACK ? s->context->conf->default_sink : s->context->conf->default_source; in create_stream()
/third_party/pulseaudio/src/pulsecore/
Dcore.c108 c->default_source = NULL; in pa_core_new()
216 pa_assert(!c->default_source); in core_free()
395 if (b == core->default_source) in compare_sources()
397 if (a == core->default_source) in compare_sources()
424 old_default_source = core->default_source; in pa_core_update_default_source()
429 core->default_source = best; in pa_core_update_default_source()
433 pa_hook_fire(&core->hooks[PA_CORE_HOOK_DEFAULT_SOURCE_CHANGED], core->default_source); in pa_core_update_default_source()
Dprotocol-esound.h42 char *default_sink, *default_source; member
Dprotocol-simple.h35 char *default_sink, *default_source; member
Dprotocol-simple.c583 if (!(source = pa_namereg_get(c->protocol->core, o->default_source, PA_NAMEREG_SOURCE))) { in pa_simple_protocol_connect()
726 pa_xfree(o->default_source); in pa_simple_options_unref()
744 pa_xfree(o->default_source); in pa_simple_options_parse()
745 o->default_source = pa_xstrdup(pa_modargs_get_value(ma, "source", NULL)); in pa_simple_options_parse()
Dcore.h183 pa_source *default_source; member
Dprotocol-esound.c505 if (c->options->default_source) { in esd_proto_stream_record()
506 … source = pa_namereg_get(c->protocol->core, c->options->default_source, PA_NAMEREG_SOURCE); in esd_proto_stream_record()
507 CHECK_VALIDITY(source, "No such source: %s", pa_strnull(c->options->default_source)); in esd_proto_stream_record()
980 if ((source = pa_namereg_get(c->protocol->core, c->options->default_source, PA_NAMEREG_SOURCE))) in esd_proto_standby_mode()
1666 pa_xfree(o->default_source); in pa_esound_options_unref()
1730 pa_xfree(o->default_source); in pa_esound_options_parse()
1731 o->default_source = pa_xstrdup(pa_modargs_get_value(ma, "source", NULL)); in pa_esound_options_parse()
Dnamereg.c191 return c->default_source; in pa_namereg_get()
Dsource.c3019 if (core->default_source == NULL || core->default_source->unlink_requested) in pa_source_move_streams_to_default_source()
3022 if (old_source == core->default_source) in pa_source_move_streams_to_default_source()
3040 if (!pa_source_output_may_move_to(o, core->default_source)) in pa_source_move_streams_to_default_source()
3045 …, pa_strnull(pa_proplist_gets(o->proplist, PA_PROP_APPLICATION_NAME)), core->default_source->name); in pa_source_move_streams_to_default_source()
3048 …, pa_strnull(pa_proplist_gets(o->proplist, PA_PROP_APPLICATION_NAME)), core->default_source->name); in pa_source_move_streams_to_default_source()
3050 pa_source_output_move_to(o, core->default_source, false); in pa_source_move_streams_to_default_source()
Dsource-output.c1564 if (dest == dest->core->default_source) in pa_source_output_finish_move()
1610 if (o->core->rescue_streams && pa_source_output_may_move_to(o, o->core->default_source)) { in pa_source_output_fail_move()
1611 if (pa_source_output_finish_move(o, o->core->default_source, false) >= 0) in pa_source_output_fail_move()
1910 pa_source_output_move_to(o, o->core->default_source, false); in pa_source_output_set_preferred_source()
Dcli-command.c392 c->default_source ? c->default_source->name : "none"); in pa_cli_command_stat()
1869 if (c->default_source) { in pa_cli_command_dump()
1873 pa_strbuf_printf(buf, "set-default-source %s\n", c->default_source->name); in pa_cli_command_dump()
Dcli-text.c341 source == c->default_source ? '*' : ' ', in pa_source_list_to_string()
Dprotocol-native.c3708 pa_tagstruct_puts(reply, core->default_source ? core->default_source->name : NULL); in command_get_server_info()
/third_party/pulseaudio/src/utils/
Dpax11publish.c182 if (conf->default_source) in main()
183 pa_x11_set_prop(xcb, screen, "PULSE_SOURCE", conf->default_source); in main()
/third_party/glib/gio/
Dgsettings.c585 GSettingsSchemaSource *default_source; in g_settings_set_property() local
588 default_source = g_settings_schema_source_get_default (); in g_settings_set_property()
590 if (default_source == NULL) in g_settings_set_property()
593 … settings->priv->schema = g_settings_schema_source_lookup (default_source, schema_id, TRUE); in g_settings_set_property()
/third_party/pulseaudio/src/modules/dbus/
Diface-core.c2204 c->fallback_source = core->default_source; in pa_dbusiface_core_new()