Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ AAudioStrin(3X) — HP-UX 8.07

Media Vault

Software Library

Restoration Projects

Artifacts Sought

AAudioString(3X)

NAME

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

SYNOPSIS

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 was NULL, the value of the AUDIO variable was used, and that is the value returned. 

ERRORS

AAudioString() does not return an error status. 

EXAMPLE

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

char ∗ ac_name;  /∗ name of audio controller∗/

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 8.07: November 1991

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