May 9, 2014

Minecraft Audio with USB Speakers

I have a Bose Companion 5 speaker set. Unfortunately, the USB audio support on Linux is quite iffy. I am able to play audio ok with audacious, but while playing Minecraft there was no audio.

Below is a fix I found on various message boards, which seems to work for now. Hopefully it works for you also.

The trick is to fix the OpenAL configuration.

create a file '.alsoftrc' in your home directory with the following text in it :

$ cat ~/.alsoftrc
[general]
channels=stereo
drivers = alsa

[alsa]
capture = default
device = pulse

Now start minecraft from the directory where you have the jar file:

java -jar Minecraft.jar

and sound should be working.




No comments:

Post a Comment