alGetEventParam(3dm) alGetEventParam(3dm)
alGetEventParam - get parameter of audio event
#include <dmedia/audio.h>
int alGetEventParam(ALevent event)
event expects an ALevent structure initialized by alNextEvent(3dm)
or alCheckEvent(3dm).
alGetEventParam returns the parameter of the audio event from the ALevent
structure. The event parameter will dictate what type of event
information is contained in the event. Please refer to alParams(3dm) for
a detailed list of return data types for parameters.
DIAGNOSTICS
Upon successful completion, alGetEventParam returns an int whose value is
one of the symbolic constants for an AL_PARAM. Otherwise,
alGetEventParam returns -1 and and sets an error number. This error
number can be retrieved with oserror(3C).
alGetEventParam can fail for the following reason:
AL_BAD_INVALID_EVENT event is invalid or null.
alNewEvent(3dm), alNextEvent(3dm), alCheckEvent(3dm), alParams(3dm),
oserror(3C)
PPPPaaaaggggeeee 1111 [ Back ]
|