8.86 Gestion Audio OpenAL
8 Référence des fonctions
Manuel PHP
. Introduction . Installation . Configuration à l'exécution . Types de ressources . Constantes pré-définies . openal_buffer_create . openal_buffer_data . openal_buffer_destroy . openal_buffer_get . openal_buffer_loadwav . openal_context_create . openal_context_current . openal_context_destroy . openal_context_process . openal_context_suspend . openal_device_close . openal_device_open . openal_listener_get ->openal_listener_set . openal_source_create . openal_source_destroy . openal_source_get . openal_source_pause . openal_source_play . openal_source_rewind . openal_source_set . openal_source_stop . openal_stream
|
8.86.19 openal_listener_set()
Définie une propriété d'auditeur
[ Exemples avec openal_listener_set ] CVS uniquement
bool
openal_listener_set (
int
property
,
mixed
setting
)
-
property
-
La propriété à définir, une parmis celles-ci :
AL_GAIN
(
float
),
AL_POSITION
(array(
float
,
float
,
float
)),
AL_VELOCITY
(array(
float
,
float
,
float
)) et
AL_ORIENTATION
(array(
float
,
float
,
float
)).
-
setting
-
La valeur à définir, soit un nombre à virgule flottante , soit un tableau de nombres à virgule flottante
appropriés.
Cette fonction retourne
TRUE
en cas de
succès,
FALSE
en cas d'échec.
|