I had the same issue initially: no sound in minecraft.
What I did was inspect the file ~/.minecraft/bin/natives/libopenal.so to see it it accepted any kind of configuration file, and I found one:
Code:
strings ~/.minecraft/bin/natives/libopenal.so | grep -i alsoft.conf
/etc/openal/alsoft.conf
ALSOFT_CONF
Please rename it to /etc/openal/alsoft.conf
So I searched the OpenAL source and ran into an example of this configuration file:
http://repo.or.cz/w/openal-soft.git/...lsoftrc.sample
What I did was create the directory /etc/openal and copying this example file into /etc/openal/alsoft.conf . I uncommented one line as follows:
Code:
...
[alsa]
## device:
# Sets the device name for the default playback device.
device = default
...
And I had sound in minecraft.
What follows is stranger: I decided to delete that file /etc/openal/alsoft.conf because I was trying to figure out how Jack, ALSA and OpenAL interact... and deleting the file made no difference! I still had sound in minecraft.
This has remained working after several reboots. Somewhere, another configuration file must have been updated but I have no idea where.
I intend to install this example file as /etc/openal/alsoft.conf.example when I update my
OpenAL package.
Eric