get_consumers


Description:

public int get_consumers (string output_pad, out Node[] nodes, out string[] pads)

Retrieve which pads on which nodes are connected to a named output_pad, and the number of connections.

Both the location for the generated nodes array and pads array can be left as NULL. If they are non NULL both should be freed with g_free. The arrays are NULL terminated.

Returns the number of consumers connected to this output_pad.

Parameters:

this

the node we are querying.

output_pad

the output pad we want to know who uses.

nodes

optional return location for array of nodes.

pads

optional return location for array of pad names.