Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ AProtocolVe(3X) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

AProtocolRevision(3X)

AServerVendor(3X)

AVendorRelease(3X)

AProtocolVersion(3X)  —  Series 700 Only

NAME

AProtocolVersion − get major version number of protocol used by audio server

SYNOPSIS

#include <audio/Alib.h>

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. 

EXAMPLES

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 9.10: April 1995

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026