PHP.nl

openal_source_set

openal_source_set

Set source property

bool **openal_source_set** resource $source int $property mixed $setting

source An resource (previously created by ). Open AL(Source)openal_source_create

property Property to set, one of: (OpenAL(Source)), (bool), (int), (int), (float), (float), (float), (float), (float), (float), (float), (float), (float), (float), (array(float,float,float)), (array(float,float,float)), (array(float,float,float)). AL_BUFFER``AL_LOOPING``AL_SOURCE_RELATIVE``AL_SOURCE_STATE``AL_PITCH``AL_GAIN``AL_MIN_GAIN``AL_MAX_GAIN``AL_MAX_DISTANCE``AL_ROLLOFF_FACTOR``AL_CONE_OUTER_GAIN``AL_CONE_INNER_ANGLE``AL_CONE_OUTER_ANGLE``AL_REFERENCE_DISTANCE``AL_POSITION``AL_VELOCITY``AL_DIRECTION

setting Value to assign to specified . Refer to the description of for a description of the value(s) expected. property``property

return.success

openal_source_create``openal_source_get``openal_source_play