🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.programmer
Article #179

Re: Sound in Browser Applet

#179
From: Tim Tyler
Date: Sat, 12 May 2001 06:17
20 lines
1746 bytes
TOK Logic Australia Software Engineering <info@tok2.net> wrote:

:     I have been trying what should be a simple Applet using
: awt.getAudioClip and play/loop an au file. This works fine with
: Appletviewer but Netscape 4.7 finds the file but doesn't play, and IE5.5
: reports file is null. Any clues? Thanks.

: See:
: http://www.tok2.net/try/TrySound.html

Java console reports:

  NativeAudioStream: invalid audio encoding.
  NativeAudioStream: invalid file type.

Try an .au file from somewhere else, or use something like sox to convert
it to the correct specification.
-- 
__________  http://rockz.co.uk/  http://alife.co.uk/   http://hex.org.uk/
 |im |yler  http://atoms.org.uk/ http://mandala.co.uk/ tt@iname.com
Technical Details
Message-ID: <GD7LHJ.K1E@bath.ac.uk>
Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!212.74.64.35!colt.net!newspeer.clara.net!news.clara.net!server3.netnews.ja.net!bath.ac.uk!unknown
References: <3AFCBA24.E9B47856@tok2.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,cf5ea0c84b65554c
X-Google-Attributes: gid10d6db,public
X-Google-Thread: f4546,cf5ea0c84b65554c
X-Google-Attributes: gidf4546,public
X-Google-Thread: 10a146,cf5ea0c84b65554c
X-Google-Attributes: gid10a146,public
X-Google-ArrivalTime: 2001-05-11 23:26:01 PST
Newsgroups: comp.lang.java.programmer,microsoft.public.internet.explorer.java,aus.computers.java
Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!212.74.64.35!colt.net!newspeer.clara.net!news.clara.net!server3.netnews.ja.net!bath.ac.uk!unknown
From: Tim Tyler <tt@cryogen.com>
Subject: Re: Sound in Browser Applet
User-Agent: tin/1.4.3-20000502 ("Marian") (UNIX) (Linux/2.2.19 (i686))
Reply-To: tt@iname.com
Sender: unknown@bits.bris.ac.uk (Address not verified)
Organization: University of Bristol, UK
Message-ID: <GD7LHJ.K1E@bath.ac.uk>
References: <3AFCBA24.E9B47856@tok2.net>
Date: Sat, 12 May 2001 06:17:43 GMT
Lines: 20