[1851] in java-interest

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

Re: JDK AudioClip completion

daemon@ATHENA.MIT.EDU (bert hobbs)
Mon Sep 18 20:16:16 1995

Date: Mon, 18 Sep 1995 09:16:32 -0700
From: bhobbs@sfhill.sfhill.org (bert hobbs)
To: bhobbs@sfhill.sfhill.org, Arthur.Vanhoff@Eng.Sun.COM
Cc: java-interest@java.Eng.Sun.COM

Arthur,

> > > 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
> > 
> > How sad.  I fear the "future release" is not the beta, but something
> > that is likely more than a year away.  
> 
> It will be much sooner than that. We will be able to extend the APIs
> over time as long as we don't break any of the existing ones.
> 
> Please send us some requirements that you have. Perhaps you can suggest
> APIs for a good audio solution. Audio is pretty hard. We'd like to support
> many audio formats, audio filters, mixing, decompression, completion
> callbacks, looping, etc.
> 	Arthur van Hoff

I can certainly understand that defining and agreeing on an API
to support all the above features is a difficult task. Being able
to tell when an AudioClip finishes playing seems pretty basic and
I am surprised it could not be included in this cut of AudioClip.

A couple related AudioClip questions.  When play is called, can there
be a delay while audio data is being loaded?  Can play return before
the audio actually starts?  What happens when play is called while
an AudioClip is already playing?

Thanks,
bert
-
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