alGetResource man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



alGetResource(3dm)					    alGetResource(3dm)

NAME
     alGetResource - get the resource associated with an audio port

SYNOPSIS
     #include <dmedia/audio.h>

     int alGetResource(ALport port)

PARAMETER
     port   expects the port whose audio resource you desire.  This structure
	    is the returned value of an alOpenPort(3dm) call.

DESCRIPTION
     An audio resource (see alResources(3dm)) is a globally visible object
     upon which certain kinds of operations, such as getting and setting
     parameters, can be performed. Audio devices are examples of resources.
     Ports, too, are resources, and can support some of the same operations as
     audio devices.

     alGetResource() returns a resource associated with the given port that
     you can then use, for example, as an argument to alGetParams(3dm) or
     alConnect(3dm).

DIAGNOSTICS
     Upon successful completion, alGetResource returns nonzero resource.  In
     the event of an error, alGetResource returns 0 and sets an error code
     which can be retrieved with oserror(3C).

     alGetResource can fail for the following reason:

     AL_BAD_PORT   port is either invalid or null.

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

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net