Lines Matching defs:port

28 #include "iface-device-port.h"
188 static pa_dbus_arg_info get_port_by_name_args[] = { { "name", "s", "in" }, { "port", "o", "out" } };
215 static pa_dbus_arg_info active_port_updated_args[] = { { "port", "o", NULL } };
669 pa_dbusiface_device_port *port = NULL;
681 PA_HASHMAP_FOREACH(port, d->ports, state)
682 ports[i++] = pa_dbusiface_device_port_get_path(port);
716 "The sink %s has no ports, and therefore there's no active port either.", d->sink->name);
719 "The source %s has no ports, and therefore there's no active port either.", d->source->name);
731 pa_dbusiface_device_port *port;
746 "The sink %s has no ports, and therefore there's no active port either.", d->sink->name);
749 "The source %s has no ports, and therefore there's no active port either.", d->source->name);
755 PA_HASHMAP_FOREACH(port, d->ports, state) {
756 if (pa_streq(pa_dbusiface_device_port_get_path(port), new_active_path)) {
757 new_active = port;
763 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NOT_FOUND, "No such port: %s", new_active_path);
970 pa_dbusiface_device_port *port = NULL;
979 if (!(port = pa_hashmap_get(d->ports, port_name))) {
982 "%s: No such port on sink %s.", port_name, d->sink->name);
985 "%s: No such port on source %s.", port_name, d->source->name);
989 port_path = pa_dbusiface_device_port_get_path(port);
1248 pa_device_port *port;
1278 PA_HASHMAP_FOREACH(port, sink->ports, state) {
1279 pa_dbusiface_device_port *p = pa_dbusiface_device_port_new(d, sink->core, port, d->next_port_index++);
1291 pa_device_port *port;
1321 PA_HASHMAP_FOREACH(port, source->ports, state) {
1322 pa_dbusiface_device_port *p = pa_dbusiface_device_port_new(d, source->core, port, d->next_port_index++);