Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ aendconvers(3X) — HP-UX 9.03

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ASetupConversion(3X)

AConvertBuffer(3X)

AEndConversion(3X)

NAME

AEndConversion − finish stream data conversion

SYNOPSIS

#include <audio/Alib.h> void
AEndConversion (

Audio * audio,

AConvertParams * convert_params,

char * dest_buffer,

long dest_buffer_size,

long * bytes_written,

long * status_return);

DESCRIPTION

AEndConversion() converts any data remaining in the conversion pipeline to the attributes specified in convert_params and puts the results in dest_buffer. The amount of data written is returned in bytes_written. AEndConversion also frees the structure, convert_params.

audio specifies the Audio structure associated with this connection. 

convert_params pointer to a structure describing conversion source and destination; returned by ASetupConversion.

dest_buffer the destination buffer; receives the converted data. 

dest_buffer_size size in bytes of the destination buffer. 

bytes_written receives the number of bytes written. 

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

EXAMPLE

For an example, see /usr/audio/examples/splayer.c

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

AEndConversion() was developed by HP. 

SEE ALSO

ASetupConversion(3X), AConvertBuffer(3X),

Using the Audio Application Program Interface.

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

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