Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Aug 2000 14:36:16 -0400
From:      Rob Furphy <rcf@ox.com>
To:        "Daichi T.GOTO" <daichi@ongs.net>
Cc:        Greg Lewis <glewis@trc.adelaide.edu.au>, freebsd-java@FreeBSD.ORG
Subject:   Re: Alpha JDK 1.2.2 patchset 10
Message-ID:  <39886A20.4C881CD3@ox.com>
References:  <84711508.965229893096.JavaMail.daichi@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi all,

The work I was able to do for the sound *fix* is this:
I verified that patchset 5 was the last patchset with
some semblance of sound working.  I then did some
testing and cleaning on the patchset5 version of the sound
files and got them to a point where I could run the Java2D demo
and hear *most* of the sound snippets work.  There is a LOT
of work that still needs to be done.  I currently don't have the time to
spare and am not a freebsd sound expert.  Anyone who can, please feel
free to contribute.

Just finished building my patchset 10.  Using the Java2D demo I can play
'.rmf' and '.mid' files,  the '.wav', '.aiff' and '.au' files do not work (as I expected).
The ones that do play never stop playing properly on their own.  I have much
insight into why some of the other things don't work but not the time to fix them.
This is essentially the state the Java2 port was in with patchset5.

Looks like you have identified more work to be done...

Rob F.



"Daichi T.GOTO" wrote:

> Umm great! That works very fine :)
>
> > This is a new set of ALPHA source code patches for the JDK 1.2.2 source.
> > These patches are unofficial and no abuse should be directed towards the
> > FreeBSD java porting team for them :).  This new set (patchset 10) can be
> > gotten from http://www.eyesbeyond.com/freebsddom/java/jdk.html (this
> > message is included in the downloadable tar ball as the file ANNOUNCEMENT).
> > (snip)
> > Please test as much as possible!
>
> I built JDK122 with patchset10. That works fine. Japanese support is very good.
> I can see Japanese charactor and input with XIM with this patch.
>
> But I think, patchset10 still has a sound problem? For example, demo/applets/{Animator,
> TicTacToe,JumpingBox}; simple sound application works fine without sound.
> And another application using sound dose works with sound error:
>
> Exception occurred during event dispatching:
> java.lang.NoClassDefFoundError: sun/audio/HaeDevice
>         at sun.audio.AudioPlayer.<init>(AudioPlayer.java:118)
>         at sun.audio.AudioPlayer.<init>(AudioPlayer.java:97)
>         at sun.audio.AudioPlayer$1.run(AudioPlayer.java:89)
>         at sun.audio.ActionWrapper.run(AudioSecurity.java:128)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at sun.audio.AudioSecurity.doPrivileged(AudioSecurity.java:60)
>         at sun.audio.AudioPlayer.getAudioPlayer(AudioPlayer.java:86)
>         at sun.audio.AudioPlayer.<clinit>(AudioPlayer.java:67)
>         at sun.audio.SunAudioClip.loop(SunAudioClip.java:78)
>         at sun.applet.AppletAudioClip.loop(AppletAudioClip.java:208)
>         at jp.gr.java_conf.wffm.gview.AudioPlayer.playBGM(AudioPlayer.java:86)
>         at jp.gr.java_conf.wffm.gview.GView.pluginEnded(GView.java:371)
>         at jp.gr.java_conf.wffm.gassan.view.plugin.GPlugin.firePluginEnded(GPlugin.java:88)
>         at jp.gr.java_conf.wffm.gassan.view.plugin.DefaultOpening.mousePressed(DefaultOpening.java:145)
>         at java.awt.Component.processMouseEvent(Component.java:3159)
>         at java.awt.Component.processEvent(Component.java:3001)
>         at java.awt.Container.processEvent(Container.java:1011)
>         at java.awt.Component.dispatchEventImpl(Component.java:2396)
>         at java.awt.Container.dispatchEventImpl(Container.java:1056)
>         at java.awt.Component.dispatchEvent(Component.java:2309)
>         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2064)
>         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1842)
>         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1751)
>         at java.awt.Container.dispatchEventImpl(Container.java:1043)
>         at java.awt.Window.dispatchEventImpl(Window.java:749)
>         at java.awt.Component.dispatchEvent(Component.java:2309)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:287)
>         at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:101)
>         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
>
> java.lang.NoClassDefFoundError: sun/audio/AudioPlayer
>         at sun.applet.AppletAudioClip.stop(AppletAudioClip.java:214)
>         at jp.gr.java_conf.wffm.gview.AudioPlayer.stopBGM(AudioPlayer.java:144)
>         at jp.gr.java_conf.wffm.gview.AudioPlayer.setBGMFileName(AudioPlayer.java:116)
>         at jp.gr.java_conf.wffm.gview.GView.pluginEnded(GView.java:370)
>         at jp.gr.java_conf.wffm.gassan.view.plugin.GPlugin.firePluginEnded(GPlugin.java:88)
>         at jp.gr.java_conf.wffm.gassan.view.plugin.DefaultOpening.mousePressed(DefaultOpening.java:145)
>         at java.awt.Component.processMouseEvent(Component.java:3159)
>         at java.awt.Component.processEvent(Component.java:3001)
>         at java.awt.Container.processEvent(Container.java:1011)
>         at java.awt.Component.dispatchEventImpl(Component.java:2396)
>         at java.awt.Container.dispatchEventImpl(Container.java:1056)
>         at java.awt.Component.dispatchEvent(Component.java:2309)
>         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2064)
>         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1842)
>         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1751)
>         at java.awt.Container.dispatchEventImpl(Container.java:1043)
>         at java.awt.Window.dispatchEventImpl(Window.java:749)
>         at java.awt.Component.dispatchEvent(Component.java:2309)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:287)
>         at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:101)
>         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
>
> Daichi T.GOTO(ONGS)
>     http://www.ongs.net/daichi, daichi@ongs.net
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-java" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39886A20.4C881CD3>