openal_device_open

Initialize the OpenAL audio layer

Description

resource openal_device_open(string $device_desc = ?)

Parameters

device_desc

Open an audio device optionally specified by device_desc. If device_desc is not specified the first available audio device will be used.

Return Values

Returns an Open AL(Device) resource on success or false on failure.

See Also

  • openal_device_close
  • openal_context_create