Tested with .wav files only. For .mp3 you'll need an mp3 decoder.
Required libraries:
libopenal-dev
to use OpenAL package.- freealut to use ALUT package.
Some links:
- OpenAL example in C
- Using shared libraries in GHC - basically I just added
-dynamic
flag in package.yaml.