Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ALgetminmax(3dm) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ALgetparams(3dm)

ALqueryparams(3dm)

ALgetname(3dm)

ALgetdefault(3dm)

oserror(3C)



ALgetminmax(3dm)                                              ALgetminmax(3dm)



NAME
     ALgetminmax - (obsolete) gets maximum and minimum values for an audio
     device state variable

SYNOPSIS
     #include <dmedia/audio.h>

     int ALgetminmax(long device, long param, long *minparam, long *maxparam)

PARAMETER
     device     expects the device to which the device state variable applies.
                Currently, there is only one device, AL_DEFAULT_DEVICE.

     param      expects the device state variable for which you want to know
                the range.

     minparam   expects a pointer to the variable into which ALgetminmax(3dm)
                can write the minimum value associated with param.

     maxparam   expects a pointer to the variable into which ALgetminmax(3dm)
                can write the maximum value associated with param.

DESCRIPTION
     ALgetminmax is obsolete and is provided for backward compatibility. The
     preferred function is alGetParamInfo(3dm).

     ALgetminmax(3dm) gets the maximum and minimum values for a device state
     variable.  You can find a list of parameters and their descriptions in
     ALgetparams(3dm).

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

     ALBADDEVICE          device is invalid.

     ALBADDEVICEACCESS   audio hardware is inaccessible.

     ALBADPARAM           param is not valid for device.

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

SEE ALSO
     ALgetparams(3dm), ALqueryparams(3dm), ALgetname(3dm), ALgetdefault(3dm),
     oserror(3C)









                                                                        Page 1



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