DOKK / manpages / debian 12 / libaudio-dev / AuGetElements.3nas.en
AuGetElements(3) Library Functions Manual AuGetElements(3)

Name

AuGetElements - get the elements in a flow

Synopsis

#include <audio/audiolib.h>

AuElement *AuGetElements(server, flow, clocked, num_elements, status)
AuServer *server;
AuFlowID flow;
AuBool *clocked; /* RETURN */
int *num_elements; /* RETURN */
AuStatus *status; /* RETURN */

Arguments

Specifies the connection to the audio server.
Specifies the ID of the flow to get the elements from.
Returns a boolean value that indicates if the flow is clocked.
Returns the number of elements.
If non-NULL, flush the output buffer and return the status from the server.

Description

AuGetElements returns the list of elements comprising flow or NULL, with num_elements set to 0, if there was an error. Use AuFreeElements to free this list when nolonger needed.

Errors

AuBadFlow.

See Also

AuSetElements.

audiolib - Network Audio System C Language Interface

1.9.4 audiolib - flow elements