Open  AL
1 Filling Buffer Data from Files
al  Buffer  Data/  path
6.12

OpenAL

Jay McCarthy

 (require openal) package: openal

The openal module provides FFI bindings to the OpenAL library. It is intended to include all functions and constants with their obvious interpretation as Racket functions, without any additional conveniences from the C specification.

1 Filling Buffer Data from Files

 (require openal/path) package: openal

procedure

(alBufferData/path b p)  void?

  b : integer?
  p : path-string?
Uses libsndfile to load mono or stereo audio data from the file p with 16-bit signed representation into an OpenAL buffer, b, using alBufferData.