ALgetdefault man page on IRIX

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



ALgetdefault(3dm)					     ALgetdefault(3dm)

NAME
     ALgetdefault - (obsolete) returns the default value for an audio device
     state variable

SYNOPSIS
     #include <dmedia/audio.h>

     long ALgetdefault(long device, long parameter)

PARAMETER
     device	 expects a device.  Currently there is only one device,
		 AL_DEFAULT_DEVICE.

     parameter	 expects the symbolic constant for the device state variable
		 for which you want the default value.

DESCRIPTION
     ALgetdefault is obsolete and is provided for backward compatibility. The
     preferred method to get the default value for a parameter is
     alGetParamInfo(3dm).

     ALgetdefault(3dm) returns the default value for the device state variable
     referenced in parameter.

     Device state variables specify parameters of the audio hardware which can
     be changed under program control.

     Default values are the values of the device parameters which are in
     effect when the system is booted and represent suggested nominal values.
     You can find a listing of parameters and their descriptions in
     ALgetparams(3dm).

     ALgetdefault(3dm) can fail for the following reasons:

     AL_BAD_DEVICE	    device is not AL_DEFAULT_DEVICE.

     AL_BAD_DEVICE_ACCESS   audio device is inaccessible.

     AL_BAD_PARAM	    parameter is not a valid parameter for device.

DIAGNOSTICS
     Upon successful completion, ALgetdefault(3dm) returns the default value
     for parameter. Otherwise, ALgetdefault(3dm) returns -1 and sets an error
     number which can be retrieved with oserror(3C).

SEE ALSO
     ALgetparams(3dm), ALqueryparams(3dm), ALgetminmax(3dm), ALgetname(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