\fBName\fP

AuSetElementStates - set the state of elements in a flow

\fBSynopsis\fP

#include <audio/audiolib.h>

void AuSetElementStates(server, num_states, states, status)

    AuServer *server;
    int num_states;
    AuElementStates *states;
    AuStatus *status; /* RETURN */

\fBArguments\fP

server

Specifies the connection to the audio server.

num_states

Specifies the number of element states.

states

Specifies the list of element states to use.

status

If non-NULL, flush the output buffer and return the status from the server.

\fBDescription\fP

AuSetElementStates changes the states of those elements in those flows specified in states.

\fBNote\fPS

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

\fBErrors\fP

AuBadFlow, AuBadElement, AuBadAlloc, AuBadLength.

\fBSee Also\fP

AuGetElementStates.

audiolib - Network Audio System C Language Interface