Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ aresumeaudi(3X) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

APauseAudio(3X)

AStopAudio(3X)

AResumeAudio(3X)  —  Series 700 Only

NAME

AResumeAudio − resume specified audio transaction

SYNOPSIS

#include <audio/Alib.h>

void AResumeAudio (

Audio *audio,

ATransID xid,

ATransStatus *trans_status_return,

long *status_return

);

DESCRIPTION

AResumeAudio() resumes the specified transaction if the transaction was paused by APauseAudio(). 

audio specifies the Audio structure associated with this connection. 

xid specifies the transaction ID. 

To use AResumeAudio() on a paused series of linked transactions, specify the first transaction in the linked list.  The resume affects the current (paused) transaction. 

trans_status_return receives the returned status value.  Setting this argument to NULL prevents the data from being collected and returned, which may enhance performance. 

status_return receives the returned status of the operation unless it is set to NULL. 

ERRORS

If status_return is not set to NULL, one of the following is returned in status_return:

 0 AENoError

 2 AEBadAudio

15 AEBadTransactionID

EXAMPLES

The following example resumes the transaction identified by xid, sets trans_stat to NULL, and sets up status to receive an error status. 

Audio *audio;         /* audio connection */
ATransID xid;         /* transaction ID */
long status;          /* error status */
.
.
.
/* resume transaction - xid returned from prior call */
AResumeAudio(audio, xid, NULL, &status);

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

AResumeAudio() was developed by HP. 

SEE ALSO

APauseAudio(3X), AStopAudio(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