🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17718

Re: sounds in applications Java

#17718
From: Richard Wilkman
Date: Mon, 05 Oct 1998 00:00
63 lines
2336 bytes
Dillan:

Just remember, classes in sun.* are not to be counted on *at all*. 
They come and go and are not supported -- that's where Javasoft does
their fiddling and experimentaion.  If a class passes the tests, etc.
it gets moved to the java* or javax* portions of the language.

You are, of course, free to use them at your own risk <g>.

-Rich

Dillan Fernando wrote:
> 
> Hi Jean Pierre Pagani!
> 
> There is a package sun.audio, which is not documented in JBuilder. I don't
> remember exactly what you have to do, but it looks something like this,
> 
> import sun.audio.*;
> ...
> ..
> FileInputStream fs = new FileInputStream("music.au");
> AudioPlayer ap = AudioPlayer.audioplayer ;  // Or something similar if this
> doesent work try
>                                                                    //
> AudioPlayer.audio; Note this is a variable
> ap.play(fs);
> 
> Hope this help
> 
> Regards
> 
> Dillan Fernando
> Senior Analyst
> Palmware (pvt) Ltd.
> 
> Jean Pierre Pagani wrote in message <6v7jr9$b533@forums.borland.com>...
> >how to use sounds "*.au" in  java applications
> >in applets i use play(url,string);
> >
> >--
> >jean pierre pagani
> >
> >j2p@wanadoo.fr
> >j2p@csi.com
> >http://wwwperso.hol.fr/~jpagani/
> >
> >

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <3618F1FB.3B856560@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6v7jr9$b533@forums.borland.com> <6v85qf$csr3@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,eb401eb94935a7ef
X-Google-Attributes: gidf74b3,public
From: Richard Wilkman <rwilkman@inprise.com>
Subject: Re: sounds in applications Java
Date: 1998/10/05
Message-ID: <3618F1FB.3B856560@inprise.com>
X-Deja-AN: 397950847
Content-Transfer-Encoding: 7bit
References: <6v7jr9$b533@forums.borland.com> <6v85qf$csr3@forums.borland.com>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language