ASoundByteOrder(3X) — Series 700 Only
NAME
ASoundByteOrder − get byte order of audio data accepted by audio controller for this connection
SYNOPSIS
#include <audio/Alib.h>
AByteOrder ASoundByteOrder (Audio *audio );
DESCRIPTION
ASoundByteOrder() returns the byte order of audio data accepted by the audio controller associated with the audio connection.
audio specifies the Audio structure associated with this connection.
RETURN VALUE
Upon successful completion, ASoundByteOrder() returns the byte order of audio data accepted by the audio controller associated with this connection.
ERRORS
ASoundByteOrder() does not return an error status.
EXAMPLES
The following example returns the byte order accepted by the audio controller associated with the connection specified by audio.
AByteOrder byte_order; /* acceptable byte order */
Audio *audio; /* audio connection */
.
.
.
/* get acceptable byte order */
byte_order = ASoundByteOrder(audio);
DEPENDENCIES
This function belongs to the Audio Library of functions that manage connections to an audio server. The audio server must run on a system that has audio hardware. To find out whether or not your system has audio hardware, refer to the hardware manual that accompanies your system.
AUTHOR
ASoundByteOrder() was developed by HP.
SEE ALSO
Using the Audio Application Program Interface.
Hewlett-Packard Company — HP-UX Release 9.03: April 1994