Page 1 of 1

Pulseaudio (linux) and jBliss

PostPosted: Mon Dec 26, 2011 12:11 pm
by jul
There seems to be a problem with jBliss in Linux (I'm using Ubuntu 11.04). In only recognizes the first sound it has to reproduce (either background music or some sound tested from the preference menu). Whenever it has to reproduces other sounds, it remains mute.

For example, in a normal game, it reproduce the background music, but no other songs or sounds. If I run it again and I first try to test some sound like "Click", it reproduces the click sound correctly through the game, but no music at all (or other sounds). This happend both with OpenJDK and Sun Java.

From the cli, I get this warning, which seems related:
Code: Select all
java.lang.IllegalArgumentException: Master Gain not supported
   at org.classpath.icedtea.pulseaudio.PulseAudioLine.getControl(PulseAudioLine.java:89)
   at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.getControl(PulseAudioSourceDataLine.java:51)
   at com.GamesForLoving.Sound.a.run(Sound.java:505)
   at java.lang.Thread.run(Thread.java:679)


Also, an unrelated minor bug: the help menu points to index.html, but the actual file is index.htm

Re: Pulseaudio (linux) and jBliss

PostPosted: Mon Dec 26, 2011 12:55 pm
by dch13
I have the same audio problem with linux mint...

Re: Pulseaudio (linux) and jBliss

PostPosted: Tue Dec 27, 2011 6:40 am
by rdd
Try running through padsp. I use padsp on Ubuntu 10.04 in order to play through USB speakers and it works perfectly!

Code: Select all
padsp java -jar Bliss.jar

Re: Pulseaudio (linux) and jBliss

PostPosted: Wed Dec 28, 2011 1:45 pm
by jul
Thanks, the pasdp trick with Sun Java 6 works!

But the problem still remains with OpenJDK.