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

Vincent Fourmond fourmond at debian.org
Fri Sep 4 12:19:00 UTC 2009


  Hello,

On Fri, Sep 4, 2009 at 1:25 PM, Denis Shpektorov<dshpektorov at gmail.com> wrote:
> 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.

  Thanks for the information; it's true that I haven't dedicated too
much time to sound, as I positively loathe sounds when I do anything
that requires brains ;-)... I'll have a look into that reasonably
rapidly (but I'm supposed to be on vacation from Debian for now !).

  Cheers,

     Vincent





More information about the Pkg-games-devel mailing list