alut
OpenAL Utility Toolkit (ALUT)
Summary
| Latest Version | 1.1.0.2 |
|---|---|
| License | LGPL-2.1 |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-09-01 07:17 |
Tags
Authors
- Robert M. Thomson
Installation
nimble install alut
choosenim install alut
git clone https://github.com/rmt/alut
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| alut | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Dependencies
| Package | Version | Optional |
|---|---|---|
| nim >= | 1.0.6 | No |
| openal >= | 0.1.0 | No |
Source
| Repository | https://github.com/rmt/alut |
|---|---|
| Homepage | https://github.com/rmt/alut |
| Registry Source | nimble_official |
README
Nim bindings for ALUT (OpenAL Utility Toolkit)
These are low level bindings for FreeALUT, which provides some convenience functions for the OpenAL library.
In particular, ALUT makes it easy to correctly load WAV/RIFF/SND/AU files into buffers as well as the useful function to create a HelloWorld buffer.
import alut
import openal
when isMainModule:
if not alutInit(nil, nil):
quit "Error during alutInit"
var helloBuffer = alutCreateBufferHelloWorld()
var helloSource = ALuint(0)
alGenSources(ALsizei 1, helloSource.addr)
alSourcei(helloSource, AL_BUFFER, Alint(helloBuffer))
alSourcePlay(helloSource)
discard alutSleep(1)
if not alutExit():
quit "Error during alutExit"
TODO
Your help would be appreciated to also support Windows, MacOS/X & IOS.