Bug#544998: freecol: fails to play most of accompanying sound files

Denis Shpektorov dshpektorov at gmail.com
Fri Sep 4 11:25:50 UTC 2009


Package: freecol
Version: 0.8.4+dfsg-1
Severity: normal

Running freecol to lobby generates a log file that contains a lot of 
such exception traces:

net.sf.freecol.client.gui.sound.SoundPlayer$SoundPlayerThread playSound
	WARNING: Could not play audio.
	Fri Sep 04 13:37:07 EEST 2009
	Thread ID: 11
	Stack trace:
javax.sound.sampled.UnsupportedAudioFileException: could not get audio 
input stream from input file
	at 
javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:1170)
	at 
net.sf.freecol.client.gui.sound.SoundPlayer$SoundPlayerThread.playSound(SoundPlayer.java:347)
	at 
net.sf.freecol.client.gui.sound.SoundPlayer$SoundPlayerThread.run(SoundPlayer.java:337)

It seems, that OGG support is broken, since replacing intro.ogg with its 
decoded version (intro.wav) enables the playback and the only sound I've 
actually heard while playing is load_cargo.wav. While trying to fix it 
i've installed libvorbisspi-java, libjorbis-java & libtritonus-java 
packages and added the following jars to look for:

jorbis jogg vorbisspi tritonus_share

This prevents exceptions from occuring and unmutes sound system, but 
speakers in this case produce garbage. I'm not much into java so I could 
easily do something wrong or inappropriate. Please, let me know if it is 
true or you need additional feedback.


-- System Information:
Debian Release: squeeze/sid
   APT prefers testing
   APT policy: (990, 'testing'), (600, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages freecol depends on:
ii  java-wrappers             0.1.15         wrappers for java executables
ii  libhiglayout-java         1.0-4          An easy-to-use layout 
manager for
ii  libwoodstox-java          1:3.9.2.dfsg-1 a high-performance XML 
processor
ii  sun-java6-jre [java6-runt 6-14-1         Sun Java(TM) Runtime 
Environment (

freecol recommends no packages.

freecol suggests no packages.

-- no debconf information






More information about the Pkg-games-devel mailing list