Scroll to navigation

AuGetElementStates(3) Library Functions Manual AuGetElementStates(3)


AuGetElementStates - get the state of elements in a flow


#include <audio/audiolib.h>

AuElementState *AuGetElementStates(server, num_states, states, status)
AuServer *server;
int *num_states; /* SEND and RETURN */
AuElementState *states;
AuStatus *status; /* RETURN */


Specifies the connection to the audio server.
Specifies the number of element states in states and returns the number of element states actually returned.
Specifies the list of AuElementState structures indicating the flow and element number of the elements to return the state of.
If non-NULL, flush the output buffer and return the status from the server.


AuGetElementStates returns a list of element states, or NULL, with num_states set to 0, if there was an error. Use AuFreeElementStates to free this list when nolonger needed.


Attempting to get the state of a non-component element (AddConstant, Bundle, ExportMonitor, MultiplyConstant, and Sum) will result in an error.


AuBadFlow, AuBadLength, AuBadAlloc, AuBadElement.

See Also


audiolib - Network Audio System C Language Interface

1.9.4 audiolib - flow elements states