Expand description
This crate provides a wrapper around the underlying OpenAL implementation.
The raw generated bindings can be found in the [c] module, or a more
hierarchical binding may be leveraged from the rest of this crate.
Structs§
Constants§
Functions§
- Copies data into the buffer, interpreting it using the specified format and samplerate.
- Delete buffer objects
- Delete source objects.
- Create buffer objects
- Create source objects.
- Retrieve the value of an enum. The returned value may be context-specific.
- Obtain the first error generated in the AL context since the last call to this function.
- Retrieve the address of a function. The returned function may be context- specific.
- Verify an ID is a valid buffer (including the NULL buffer)
- Query for the presence of an extension on the AL context.
- Verify an ID is for a valid source.
- Pause a source, setting its state to AL_PAUSED if playing.
- Pause a list of sources atomically.
- Play, restart, or resume a source, setting its state to AL_PLAYING.
- Play, restart, or resume a list of sources atomically.
- Queue buffers onto a source
- Rewind a source, setting its state to AL_INITIAL.
- Rewind a list of sources atomically.
- Stop a source, setting its state to AL_STOPPED if playing or paused.
- Stop a list of sources atomically.
- Unqueue processed buffers from a source
- Closes the given capture device.
- Opens the named capture device with the given frequency, format, and buffer size.
- Reads samples from the device buffer.
- Starts capturing samples into the device buffer.
- Stops capturing samples. Samples in the device buffer remain available.
- Closes the given playback device.
- Create and attach a context to the given device.
- Remove a context from its device and destroys it.
- Returns the device that a particular context is attached to.
- Returns the currently active context.
- Retrieve the value of an enum. Given a non-NULL device, the returned value may be device-specific.
- Obtain the most recent Device error.
- Returns information about the device and the version of OpenAL.
- Retrieve the address of a function. Given a non-NULL device, the returned function may be device-specific.
- Returns information about the device, and error strings.
- Query for the presence of an extension on the device. Pass a NULL device to query a device-inspecific extension.
- Makes the given context the active process-wide context. Passing NULL clears the active context.
- Opens the named playback device.
- Resumes processing updates for the given context.
- Suspends updates for the given context.
Type Aliases§
- 8-bit boolean
- signed 8-bit integer
- character
- 64-bit IEEE-754 floating-point
- 32-bit enumeration value
- 32-bit IEEE-754 floating-point
- signed 32-bit integer
- signed 16-bit integer
- non-negative 32-bit integer size
- unsigned 8-bit integer
- unsigned 32-bit integer
- unsigned 16-bit integer
- void type (for opaque pointers only)
- 8-bit boolean
- signed 8-bit integer
- character
- 64-bit IEEE-754 floating-point
- 32-bit enumeration value
- 32-bit IEEE-754 floating-point
- signed 32-bit integer
- signed 16-bit integer
- non-negative 32-bit integer size
- unsigned 8-bit integer
- unsigned 32-bit integer
- unsigned 16-bit integer
- void type (opaque pointers only)