ALgetminmax(3dm) ALgetminmax(3dm)
ALgetminmax - (obsolete) gets maximum and minimum values for an audio
device state variable
#include <dmedia/audio.h>
int ALgetminmax(long device, long param, long *minparam, long *maxparam)
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.
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:
AL_BAD_DEVICE device is invalid.
AL_BAD_DEVICE_ACCESS audio hardware is inaccessible.
AL_BAD_PARAM param is not valid for device.
Upon successful completion, ALgetminmax(3dm) returns 0. Otherwise,
ALgetminmax(3dm) returns -1 and sets an error number which can be
retrieved with oserror(3C).
ALgetparams(3dm), ALqueryparams(3dm), ALgetname(3dm), ALgetdefault(3dm),
oserror(3C)
PPPPaaaaggggeeee 1111 [ Back ]
|