AConnectionNumber(3X) — Series 700 Only
NAME
AConnectionNumber − get connection number for specified audio server connection
SYNOPSIS
#include <audio/Alib.h>
long AConnectionNumber (Audio *audio);
DESCRIPTION
AConnectionNumber() gets the number for the audio server connection specified by audio.
audio specifies the Audio structure associated with this connection.
RETURN VALUE
Upon successful completion, AConnectionNumber() returns the connection number for the specified audio server connection.
ERRORS
AConnectionNumber does not return an error status.
EXAMPLES
The following example gets the number for the audio connection specified by audio.
Audio *audio; /* audio connection */"
long conn; /* connection number */"
.
.
.
/* get number of audio connection */
conn = AConnectionNumber(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
AConnectionNumber() was developed by HP.
SEE ALSO
Using the Audio Application Program Interface.
Hewlett-Packard Company — HP-UX Release 9.0: August 1992