Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ aaudiostrin(3X) — HP-UX 9.03

Media Vault

Software Library

Restoration Projects

Artifacts Sought

AAudioString(3X)  —  Series 700 Only

NAME

AAudioString − get name of audio controller (string) passed to AOpenAudio()

SYNOPSIS

#include <audio/Alib.h>

char *AAudioString (Audio *audio);

DESCRIPTION

AAudioString() returns the audio_name (string) that was passed to AOpenAudio().  If audio_name was NULL, the value of the AUDIO variable was used, and that is the value returned. 

audio specifies the Audio structure associated with this connection. 

RETURN VALUE

Upon successful completion, AAudioString() returns the audio_name (string) that was passed to AOpenAudio().  If audio_name is NULL, the value of the AUDIO variable is used, and that is the value returned. 

ERRORS

AAudioString() does not return an error status. 

EXAMPLES

The following call to AAudioString gets the name of the audio controller (string) that was passed to AOpenAudio(). 

char *ac_name; /* name of audio
Audio *audio; /* audio connection */"
.
.
.
/* get audio controller name */
ac_name = AAudioString(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

AAudioString() was developed by HP. 

SEE ALSO

Using the Audio Application Program Interface.

Hewlett-Packard Company  —  HP-UX Release 9.03: April 1994

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