MLUG: [MLUG] Java Sound Problem
[MLUG] Java Sound Problem
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
At this point in time the mere mention of the Java
programming language gives me a splitting headache and
a strong urge to break something.

I'm trying to play a simple wav file.  This is the
code I'm using, almost copied exactly from the
tutorial.  It generates no errors, but will not play
the sound.

Anyone got an idea on this one?

audioClip clip = java.applet.Applet.newAudioClip(new
URL("file://file.wav"));
if(clip != null) {
  clip.play();
else
  System.out.println("@#%$!");




	
		
Mit schönen Grüßen von Yahoo! Mail - http://mail.yahoo.de
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members