AuMakeElementState(3nas)

AuMakeElementState3nas

Initialize an element state structure

Usage

#include <audio/audiolib.h>

AuMakeElementState(state, flow, element_num, state)

AuElementState *state; /* RETURN */

AuFlowID flow;

unsigned char element_num;

unsigned char state;

Arguments

state

Returns the initialized element state structure.

flow

Specifies the ID of the flow.

element_num

Specifies the index of the element in flow. Use AuElementAll to specify the flow.

state

Specifies the state of the element. This should be one of thses constants: AuStateStop, AuStateStart, or AuStatePause.

Overview

AuMakeElementState initializes an AuElementState structure for use in a subsequent call to AuGetElementStates or AuSetElementStates.

AuMakeElementState is implemented as a macro.

Errors

AuBadFlow, AuBadElement.

audiolib - Network Audio System C Language Interface

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.