mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-24 07:00:05 -05:00
rework: make client and server nodes
work on making nodes and ports on the client.
This commit is contained in:
parent
c67d3d7f04
commit
8407430891
34 changed files with 1500 additions and 3844 deletions
|
|
@ -166,24 +166,20 @@ dump_port_info (PinosContext *c, const PinosPortInfo *info, gpointer user_data)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
#if 0
|
||||
static void
|
||||
dump_channel_info (PinosContext *c, const PinosChannelInfo *info, gpointer user_data)
|
||||
dump_connection_info (PinosContext *c, const PinosConnectionInfo *info, gpointer user_data)
|
||||
{
|
||||
DumpData *data = user_data;
|
||||
|
||||
g_print ("\tid: %p\n", info->id);
|
||||
g_print ("\tchannel-path: \"%s\"\n", info->channel_path);
|
||||
g_print ("\tconnection-path: \"%s\"\n", info->connection_path);
|
||||
if (data->print_all) {
|
||||
g_print ("\tdirection: \"%s\"\n", pinos_direction_as_string (info->direction));
|
||||
g_print ("\tclient-path: \"%s\"\n", info->client_path);
|
||||
g_print ("%c\tport-path: \"%s\"\n", MARK_CHANGE (0), info->port_path);
|
||||
print_properties (info->properties, MARK_CHANGE (1));
|
||||
g_print ("%c\tstate: \"%s\"\n", MARK_CHANGE (2), pinos_channel_state_as_string (info->state));
|
||||
print_formats ("possible-formats", info->possible_formats, MARK_CHANGE (3));
|
||||
print_formats ("format", info->format, MARK_CHANGE (4));
|
||||
g_print ("%c\tsource-port-path: \"%s\"\n", MARK_CHANGE (0), info->source_port_path);
|
||||
g_print ("%c\tdestination-port-path: \"%s\"\n", MARK_CHANGE (1), info->destination_port_path);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
dump_object (PinosContext *context, gpointer id, PinosSubscriptionFlags flags,
|
||||
|
|
@ -224,15 +220,6 @@ dump_object (PinosContext *context, gpointer id, PinosSubscriptionFlags flags,
|
|||
info_ready,
|
||||
data);
|
||||
}
|
||||
else if (flags & PINOS_SUBSCRIPTION_FLAG_CHANNEL) {
|
||||
pinos_context_get_channel_info_by_id (context,
|
||||
id,
|
||||
PINOS_CHANNEL_INFO_FLAGS_NONE,
|
||||
dump_channel_info,
|
||||
NULL,
|
||||
info_ready,
|
||||
data);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue