Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ALcloseport(3dm) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ALopenport(3dm)

oserror(3C)



ALcloseport(3dm)                                              ALcloseport(3dm)



NAME
     ALcloseport - (obsolete) releases resources of an audio port

SYNOPSIS
     #include <dmedia/audio.h>

     int ALcloseport(ALport port)

PARAMETER
     port   expects the ALport structure for the audio port you want to
            deallocate.  This structure is the returned value of the
            ALopenport(3dm) call.

DESCRIPTION
     ALcloseport is obsolete and is provided for backward compatibility. The
     preferred method of closing an audio port is via alClosePort(3dm).

     ALcloseport(3dm) releases port's resources back to the system.  Any
     activity on the port is terminated when you call ALcloseport(3dm).  For
     output ports, any samples remaining in the port will not be output.  For
     input ports, any samples remaining in the port will be lost.  Since port
     will be deallocated, it should not be used in any subsequent audio
     library function calls.

     ALcloseport(3dm) can fail for the following reason:

     ALBADPORT   port is either invalid or null.

DIAGNOSTICS
     Upon successful completion, ALcloseport(3dm) returns 0. Otherwise
     ALcloseport(3dm) returns -1 and sets an error number which can be
     retrieved using oserror(3C).

SEE ALSO
     ALopenport(3dm), oserror(3C)




















                                                                        Page 1



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