alGetEventParam(3dm)alGetEventParam(3dm)NAMEalGetEventParam - get parameter of audio event
SYNOPSIS
#include <dmedia/audio.h>
int alGetEventParam(ALevent event)
PARAMETER
event expects an ALevent structure initialized by alNextEvent(3dm)
or alCheckEvent(3dm).
DESCRIPTIONalGetEventParam 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.
EXAMPLEDIAGNOSTICS
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.
SEE ALSOalNewEvent(3dm), alNextEvent(3dm), alCheckEvent(3dm), alParams(3dm),
oserror(3C)
Page 1