AProtocolVersion(3X)
NAME
AProtocolVersion − get major version number of protocol used by audio server
SYNOPSIS
long
AProtocolVersion (
Audio ∗ audio);
DESCRIPTION
AProtocolVersion() returns the major version number of the protocol used by the audio server for the connection specified by audio.
audio specifies the Audio structure associated with this connection.
RETURN VALUE
Upon successful completion, AProtocolVersion() returns the major version number of the protocol for the audio server associated with this connection.
ERRORS
AProtocolVersion() does not return an error status.
EXAMPLE
The following example returns the major version number of the protocol associated with the audio server for the connection specified by audio.
long p_version; /∗ major protocol version ∗/
Audio ∗ audio; /∗ audio connection ∗/
.
.
.
/∗ get major protocol version ∗/
p_version = AProtocolVersion(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
AProtocolVersion() was developed by HP.
SEE ALSO
AProtocolRevision(3X), AServerVendor(3X), AVendorRelease(3X).
Using the Audio Application Program Interface.
Hewlett-Packard Company — HP-UX Release 8.07: November 1991