View Full Version : [ubuntu] alsa wrapper stopped working for Chrome too...
September 5th, 2010, 02:33 PM
I'm running strickty ALSA on my Ubuntu 10.04, and everything was working except for using alsa-wrapper with firefox. But it didn't reallt matter as it worked fine with chrome (launching chorme with "aoss chromium-browser"). But now that stopped working too, which means multiple audio playback from browser and other applications doesn't work. Alsa-wrapper still works with Opera, but I'm not really fond of Opera.
September 5th, 2010, 08:47 PM
Turns out it was only java-applications that stole the entire sound. I got this sovled now, by running all java applications through the alsa-wrapper.
I did this by renaming the javalauncher to java.bin, creating a new java file, making it executable, and adding the script below. here are codes for the terminal:
sudo mv java java.bin
sudo touch java
sudo chmod +x java
sudo nano java
And then making the script:
aoss /usr/lib/jvm/java-6-sun/jre/bin/java.bin "$@"
This will also work with pulseaudio, just change the aoss in the script to padsp instead. This might not work after an upgrade of java, unless you make another of these small scripts. And the folder in which you modify should match your current version of java.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.