56 coaches online • Server time: 21:25
Forum Chat
Log in
Recent Forum Topics goto Post Blood Bowl 2024 Edit...goto Post NBFL Season 32: The ...goto Post RNG speculations
SearchSearch 
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic
gandresch



Joined: Aug 02, 2003

Post   Posted: Apr 19, 2010 - 20:25 Reply with quote Back to top

Hi,

when i watch a game, the sounds seem only to be played half or less of that - are cut off somehow. If somebody is blocked e.g, the sound stops in the middle of the usual block sound. I hear no steps a player makes, the ping is cut off, the passes and so on are, but the spectator sounds are all as usual. So every cheer e.g. has its full length and sounds good. Just the gamesounds themselves are cut off.
This situation appears while spectating and while playing.

My test system is a
Windows 7, 64 bit
Java 6 Update 20 (64 bit version)

I'll do some tests with that with an Ubuntu 64 bit and a Fedora 64 bit, when another game is running.

Greets,
gan
gandresch



Joined: Aug 02, 2003

Post   Posted: Apr 19, 2010 - 23:05 Reply with quote Back to top

Ubuntu 9.10 64 bit uses Java 6 Update 14 (64 bit, too)
With that system the client crashed multiple times in a row, always when the first sound was played while spectating.

Fedora 12 (Constantine, 64 bit) uses Java 6 Update 17 (64 bit, too)
The same bug as under Ubuntu, the client crashes while playing the first sound.

In both cases an exception is thrown, that has to do with the Clip object, which is responsible to play the sounds.

I hope, i could help, greets,
gan
gandresch



Joined: Aug 02, 2003

Post   Posted: Apr 19, 2010 - 23:15 Reply with quote Back to top

oh yes, here is the exception (from Fedora):

Exception in thread "Thread-6" com.balancedbytes.games.ffb.FantasyFootballException: java.io.IOException: mark/reset not supported
at com.balancedbytes.games.ffb.client.sound.SoundEngine.loadClip(SoundEngine.java:144)
at com.balancedbytes.games.ffb.client.sound.SoundEngine.playSound(SoundEngine.java:77)
at com.balancedbytes.games.ffb.client.handler.ClientCommandHandler.playSound(ClientCommandHandler.java:3Cool
at com.balancedbytes.games.ffb.client.handler.ClientCommandHandlerModelSync.handleNetCommand(ClientCommandHandlerModelSync.java:106)
at com.balancedbytes.games.ffb.client.handler.ClientCommandHandlerFactory.handleNetCommand(ClientCommandHandlerFactory.java:39)
at com.balancedbytes.games.ffb.client.net.ClientCommunication.run(ClientCommunication.java:123)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.io.IOException: mark/reset not supported
at java.util.zip.InflaterInputStream.reset(InflaterInputStream.java:286)
at java.io.FilterInputStream.reset(FilterInputStream.java:217)
at com.sun.media.sound.SoftMidiAudioFileReader.getAudioInputStream(SoftMidiAudioFileReader.java:135)
at javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:1111)
at com.balancedbytes.games.ffb.client.sound.SoundEngine.loadClip(SoundEngine.java:124)
... 6 more
truckerpunk



Joined: Dec 04, 2007

Post   Posted: Apr 19, 2010 - 23:19 Reply with quote Back to top

Hi Mate. I'm on a Ubuntu 9.10 machine and running Sun java 6 update 17, and I don't have any problems. Perhaps downgrading to update 17 would help... Not sure though, as you have the same problem on your windows machine. Might be worth a try.

..and make sure your system is actually running SUN java, and not Open JRE.
(sudo update-alternatives --config java)


Last edited by truckerpunk on %b %19, %2010 - %23:%Apr; edited 1 time in total
gandresch



Joined: Aug 02, 2003

Post   Posted: Apr 19, 2010 - 23:24 Reply with quote Back to top

Hi,

then perhaps the 64bit systems make the difference.

gan
truckerpunk



Joined: Dec 04, 2007

Post   Posted: Apr 19, 2010 - 23:26 Reply with quote Back to top

Might be.. I have no experience in 64-bit systems. Perhaps someone else familiar to those systems have a better chance of helping you out.
truckerpunk



Joined: Dec 04, 2007

Post   Posted: Apr 19, 2010 - 23:31 Reply with quote Back to top

could also be a corrupted sound library in the Javabowl folder. Have you tried to to simply delete the folder and extract it again?
gandresch



Joined: Aug 02, 2003

Post   Posted: Apr 19, 2010 - 23:46 Reply with quote Back to top

The new client doesn't need such a directory. It is downloaded directly (at the moment). So my 3 systems downloaded the newest version from fumbbl.com. Not all could be wrong. But thank you.

With 64bit you have a lot more trouble, than you like to, it seems. Especially Windows is tricky with some programs.
gandresch



Joined: Aug 02, 2003

Post   Posted: Apr 20, 2010 - 09:35 Reply with quote Back to top

Hi,

can someone with a 64bit system try this, too, using OpenJRE or JRE/JSE for Windows in the 64bit version.

Thank you,
gan
Kalimar



Joined: Sep 22, 2006

Post   Posted: Apr 20, 2010 - 11:34 Reply with quote Back to top

Hi Gandresch,

I've played around a bit with the sound code and it should be a bit better now (mute not playing a sound at all for instance). Could you retry and tell me how the changes affect your systems?

Greetings, Kalimar
gandresch



Joined: Aug 02, 2003

Post   Posted: Apr 20, 2010 - 12:35 Reply with quote Back to top

Hi,

it's working now with Windows (thank you for DeadRabbit and lauth81 for offering their teams to try). I think, linux will do as well.

Wht have you done, just curious Smile

Greets,
gan
Cyrus-Havoc



Joined: Sep 15, 2006

Post   Posted: Apr 20, 2010 - 13:17 Reply with quote Back to top

I also had sound problems spectating. In my case sound was lagging way behind the action or movement although the sounds themself were fine.

_________________
Not Undead but perhaps the oldest living coach!
Kalimar



Joined: Sep 22, 2006

Post   Posted: Apr 20, 2010 - 13:19 Reply with quote Back to top

cyrus: is it better now?
Cyrus-Havoc



Joined: Sep 15, 2006

Post   Posted: Apr 20, 2010 - 13:21 Reply with quote Back to top

Just specing a game now it is very much better thanks.

_________________
Not Undead but perhaps the oldest living coach!
Kalimar



Joined: Sep 22, 2006

Post   Posted: Apr 20, 2010 - 14:04 Reply with quote Back to top

Fixed in Version 0.4.1.
Display posts from previous:     
 Jump to:   
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic