🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.java.programmer
3 messages
3 total messages Started by TOK Logic Australia Software Eng... Sat, 12 May 2001 04:20
Sound in Browser Applet
#178
Author: TOK Logic Australia Software Eng...
Date: Sat, 12 May 2001 04:20
10 lines
1488 bytes
Hi,
    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

Terry O'K.
Re: Sound in Browser Applet
#179
Author: 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
Re: Sound in Browser Applet
#180
Author: TOK Logic Australia Software Eng...
Date: Sat, 12 May 2001 10:05
4 lines
1407 bytes
Thanks Tim,
                    I thought I had ruled that out.

Terry O'K.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads