openal_buffer_loadwav

Load a .wav file into a buffer

&reftitle.description; `bool` `openal_buffer_loadwav` `resource` `buffer` `string` `wavfile`
&reftitle.parameters;

`buffer`

- An Open AL(Buffer) resource (previously created by `openal_buffer_create`).

`wavfile`

- Path to `.wav` file on local file system.

&reftitle.returnvalues;

&return.success;

&reftitle.seealso;

- `openal_buffer_data`
- `openal_stream`