AuMakeElementState (3)
Leading comments
$NCDId: @(#)AuMElSt.man,v 1.1 1994/09/27 00:32:38 greg Exp $ copyright 1994 Steven King portions are * Copyright 1993 Network Computing Devices, Inc. * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation, and that the name Network Computing ...
Name
AuMakeElementState - initialize an element state structureSynopsis
#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.
Description
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