ALSA and java games sound problems

Couple weeks ago I upgraded my mothers computer from Microsoft XP to Linux Debian Lenny (testing). Everything is working except sound with java games. After couple weeks searching for a fix and reading ALSA documention and tinkering around.

the problematic soundcard is

$ lspci
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 70)

This is what I ended up with to get the sound to work with the java games. First I created the ~/.asoundrc file, and this what I added to the ~/.asoundrc file.

!defaults.pcm.card 0
defaults.ctl.card 0
defaults.pcm.device 0
defaults.pcm.subdevice -1
defaults.pcm.dmix.device defaults.pcm.device
defaults.pcm.dsnoop.device defaults.pcm.device

After saving the file we have to restart ALSA

# /etc/init.d/alsa-utils restart
Shutting down ALSA…done.
Setting up ALSA…done.

Note: this fix may not work for everyone.

Comments (2)

  1. 13:37, Wednesday, May 13, 2009top xbox games  / Reply

    Wow! what an idea ! What a concept ! Beautiful .. Amazing

  2. 9:57, Friday, July 31, 2009Jared (aka head_victim)  / Reply


    Thanks heaps for shedding some light on this topic. It was driving me nuts.

    The main thing I took from this was to stop blaming java/flash and to look elsewhere for the fault because I think all I was accomplishing was screwing up the java installation.

    I’m quickly running out of reasons I can’t try and get the wife to join the dark side.


Leave a Reply

Pingbacks (0)

› No pingbacks yet.

%d bloggers like this: