[1740] in java-interest

home help back first fref pref prev next nref lref last post

Re: JDK AudioClip completion

daemon@ATHENA.MIT.EDU (Arthur van Hoff)
Fri Sep 15 12:56:06 1995

Date: Thu, 14 Sep 1995 12:35:34 -0800 (PDT)
From: Arthur van Hoff <Arthur.Vanhoff@Eng.Sun.COM>
Reply-To: Arthur van Hoff <Arthur.Vanhoff@Eng.Sun.COM>
To: bert hobbs <bhobbs@sfhill.sfhill.org>
Cc: java-interest@java.Eng.Sun.COM



Hi Bert,

> How can an applet tell when a JDK AudioClip has finished playing?
> My applet displays an image and plays some audio, then changes the
> image when the audio completes.  This required some trickery with
> the HotJava alpha, but it did work.  I don't see how to do this with
> the JDK and think it's a very reasonable thing for an applet to do.
> What am I missing?

The current applet audio API is not complete. It is the best we could
agree upon with our partners (you know who). It won't let you detect
when a clip is finished. We'll be extending the API in future releases.
Sorry.

Have fun,

	Arthur van Hoff
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post