AuGetElementStates(3nas)

AuGetElementStates3nas

Get the state of elements in a flow

Usage

#include <audio/audiolib.h>

AuElementState *AuGetElementStates(server, num_states, states, status)

AuServer *server;

int *num_states; /* SEND and RETURN */

AuElementState *states;

AuStatus *status; /* RETURN */

Arguments

server

Specifies the connection to the audio server.

num_states

Specifies the number of element states in states and returns the number of element states actually returned.

states

Specifies the list of AuElementState structures indicating the flow and element number of the elements to return the state of.

status

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

Overview

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.

Notes

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

Errors

AuBadFlow, AuBadLength, AuBadAlloc, AuBadElement.

Releases

14 releases since Debian 2.1 (Slink); the text changed 6 times.

  1. 2.1–2.2
  2. 3.0
  3. 3.1
  4. 4.0
  5. 5.0–6.0
  6. 7
  7. 8–13

From libaudio-dev 1.9.4-9 in Debian 13 (Trixie). Parsed by carta from the page's man source.