PRB: Unable to Play .Wav File from Applet or AudioClipLast reviewed: January 29, 1998Article ID: Q178707 |
The information in this article applies to:
SYMPTOMSWhen an Applet tries to play a .wav file from an applet using the Applet.play() method or the AudioClip.play() method, either nothing happens or you get the following console output:
NativeAudioStream: invalid file type CAUSEThe JDK 1.02 and JDK 1.1x APIs are able to play only AU files. The AU files need to be 8 bit, ulaw, 8000 Hz, and one channel.
RESOLUTIONUse a product that is capable of creating AU files according to these specifications. Convert the .wav file and change the URL to point to the AU file.
STATUSThis behavior is by design.
REFERENCESFor the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following page on the Microsoft Technical Support site:
http://support.microsoft.com/support/visualj/ http://support.microsoft.com/support/java/ Keywords : VJMisc Technology : kbInetDev internet Version : WINDOWS:1.0,1.1,1.51,2.0,2.01 Platform : WINDOWS Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |