From: Michael P. <mp...@co...> - 2010-11-21 10:25:17
|
On Sun, 21 Nov 2010 20:08:55 Michael Vehrs wrote: > Still doesn't work for me: > > net.sf.freecol.client.FreeColClient playSound > FINEST: Playing sound: sound.event.illegalMove > Sun Nov 21 09:37:24 GMT 2010 > Thread ID: 13 > net.sf.freecol.client.gui.sound.SoundPlayer$SoundPlayerThread playSound > WARNING: Could not play audio. > Sun Nov 21 09:37:24 GMT 2010 > Thread ID: 70 > Stack trace: > javax.sound.sampled.LineUnavailableException: line with format > PCM_SIGNED 22050.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not > supported. > at > com.sun.media.sound.DirectAudioDevice$DirectDL.implOpen(DirectAudioDevice.j > ava:494) at > com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:107) > at > com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:139) > at > net.sf.freecol.client.gui.sound.SoundPlayer$SoundPlayerThread.rawplay(Sound > Player.java:435) at > net.sf.freecol.client.gui.sound.SoundPlayer$SoundPlayerThread.playSound(Sou > ndPlayer.java:406) at > net.sf.freecol.client.gui.sound.SoundPlayer$SoundPlayerThread.run(SoundPlay > er.java:383) Still an improvement, we have at least moved from silence with no error messages to silence with exceptions thrown. This is new stuff to me, but that looks suggestive of some generic problem with Java's sound, rather than something specific to oggs. Does 0.9.5 work for you? Especially the ogg sounds there like the opening music. If only the oggs are failing I'd double check the classpath that FreeCol and is starting with and make sure it is seeing all four sound-related jars. Cheers, Mike Pope |