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 - close 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 close.
            This structure is the returned value of the alOpenPort(3dm) call.

DESCRIPTION
     alClosePort closes the given audio port and frees the associated
     resources.

     Any activity on the port is terminated when you call alClosePort.  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 cannot be used in any subsequent audio library
     function calls.

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

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

     ALBADPORT   port is either invalid or null.

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






















                                                                        Page 1



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