GNU Info

Info Node: (openal.info)Primitives

(openal.info)Primitives


Next: Variables Up: Configuration
Enter node , (file) or (file)node

   `ALRC' supports a very small number of primitives required to give
the user a very small amount of control over OpenAL.  Generally, the
user can specific default values for things like listener position,
source parameters, etc.

   Primitives are responsible for evaluation their own arguments, unlike
expressions or functions.  Therefore, an argument passed to a primitive
may never be evaluated.

   The primitives are:

`and'
          ( and predicate-1 predicate-2 ... )

     Performs a logical `and' on parameters, using short circuit
     evaluation.  Evaluates to true if none of the parameters evaluate
     to false.

`or'
          ( or predicate-1 predicate-2 ... )

     Performs a logical `or' on parameters, stopping at the first true
     evaluation.  Evaluates to true if any of the parameters evaluate to
     true.

`define'
          (define identifier value)

     `define' evaluates `value', and if `identifier' is not already in
     the symbol table, creates a new symbol named `identifier' with the
     evaluated `value'.  If `identifier' is already defined, define
     sets it to the the evaluated `value'.

`load-extension'
          ( load-extension "/absolute/pathname/plugin.so" )

     `load-extension' informs openal of the presence of a plugin which
     conforms to the extension format described in Note: Making your
     own.


automatically generated by info2www version 1.2.2.9