[GREENFOOT-122] Applets on OS X tries to access the server unnecessarily when playing sounds
For some strange reason applets on OS X tries to load two classes from the webserver (see the log from the server at the end of this file). This results in delays when playing sounds.
This always happens the first time a sound is played, and then it happens every now and then later on. Seems to happen once every minute.
The loading of the two classes can be triggered by this code: {noformat} AudioSystem.getMixerInfo(); {noformat}
I tried doing this as soon as a scenario is started, but it still makes the request again a bit later. Not sure how to work around it....
{noformat} 127.0.0.1 - - [27/Mar/2008:19:31:16 GMT] "GET /scenarios/com/sun/media/sound/PortMixerProvider.class HTTP/1.1" 404 667
- -> /scenarios/com/sun/media/sound/PortMixerProvider.class 127.0.0.1 - - [27/Mar/2008:19:31:18 GMT] "GET /scenarios/com/sun/media/sound/DirectAudioDeviceProvider.class HTTP/1.1" 404 675
- -> /scenarios/com/sun/media/sound/DirectAudioDeviceProvider.class {noformat}
Issue metadata
- Issue type: Bug
- Priority: Low
- Fix versions: 2.0