Lines Matching defs:name
89 void pa_sink_new_data_set_name(pa_sink_new_data *data, const char *name) {
92 pa_xfree(data->name);
93 data->name = pa_xstrdup(name);
153 pa_xfree(data->name);
183 const char *name;
191 pa_assert(data->name);
196 if (!(name = pa_namereg_register(core, data->name, PA_NAMEREG_SINK, s, data->namereg_fail))) {
197 pa_log_debug("Failed to register name %s.", data->name);
202 pa_sink_new_data_set_name(data, name);
206 pa_namereg_unregister(core, name);
213 pa_return_null_if_fail(data->name && pa_utf8_valid(data->name) && data->name[0]);
248 pa_sink_new_data_set_port(data, p->name);
253 pa_namereg_unregister(core, name);
265 s->name = pa_xstrdup(name);
368 s->name,
379 source_data.name = pa_sprintf_malloc("%s.monitor", name);
385 pa_proplist_setf(source_data.proplist, PA_PROP_DEVICE_DESCRIPTION, "Monitor of %s", dn ? dn : s->name);
492 pa_log_debug("%s: suspend_cause: %s -> %s", s->name, pa_suspend_cause_to_string(s->suspend_cause, old_cause_buf),
499 pa_log_debug("%s: state: %s -> %s", s->name, pa_sink_state_to_string(s->state), pa_sink_state_to_string(state));
772 pa_namereg_unregister(s->core, s->name);
819 pa_log_info("Freeing sink %u \"%s\"", s->index, s->name);
834 pa_xfree(s->name);
876 pa_log_debug("Sink %s: LATENCY flag %s.", s->name, (s->flags & PA_SINK_LATENCY) ? "enabled" : "disabled");
880 s->name, (s->flags & PA_SINK_DYNAMIC_LATENCY) ? "enabled" : "disabled");
1025 if (!i->module || !pa_safe_streq(i->module->name, "module-combine-sink")) {
1057 pa_log_debug("%s: Found underrun %ld bytes ago (%ld bytes ahead in playback buffer)", s->name,
1562 s->name, pa_sample_format_to_string(desired_spec.format), desired_spec.rate);
1744 pa_log_debug("Suspending monitor source %s, because the sink is entering the passthrough mode.", s->monitor_source->name);
1755 pa_log_debug("Suspending/Restarting sink %s to enter passthrough mode", s->name);
1762 pa_log_debug("Resuming monitor source %s, because the sink is leaving the passthrough mode.", s->monitor_source->name);
2390 pa_log_debug("The mute of sink %s changed from %s to %s.", s->name, pa_yes_no(old_muted), pa_yes_no(mute));
2476 n = pa_sprintf_malloc("Monitor Source of %s", description ? description : s->name);
3485 int pa_sink_set_port(pa_sink *s, const char *name, bool save) {
3492 pa_log_debug("set_port() operation not implemented for sink %u \"%s\"", s->index, s->name);
3496 if (!name)
3499 if (!(port = pa_hashmap_get(s->ports, name)))
3514 pa_log_info("Changed port of sink %u \"%s\" to %s", s->index, s->name, port->name);
3997 s->name, pa_sample_format_to_string(old_format), pa_sample_format_to_string(format));
4015 pa_log_info("%s: rate: %u -> %u", s->name, old_rate, rate);
4037 pa_log_debug("The reference volume of sink %s changed from %s to %s.", s->name,
4075 if (pa_safe_streq(old_sink->name, i->preferred_sink) && default_sink_changed)
4083 i->index, pa_strnull(pa_proplist_gets(i->proplist, PA_PROP_APPLICATION_NAME)), core->default_sink->name);
4086 i->index, pa_strnull(pa_proplist_gets(i->proplist, PA_PROP_APPLICATION_NAME)), core->default_sink->name);