• Post Reply Bookmark Topic Watch Topic
  • New Topic

AudioClip Instance In An Applet

ch praveen
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,
I have implemented the following line in my chat application, 'ac.play()' where ac is an instance of AudioClip. Sometimes it's working fine, but sometimes destroy() method of an applet is called automatically, eventhough I have not closed the browser's window. Iam not able to trace this uneven behaviour eventhough I have embedded, 'ac.play()' stmt. in a try - catch block. Finally in javaconsole window of IE, 'no audio device' is displayed. Can any one help me how to overcome this strange behavior of AudioClip.play() method.

Ch.Praveen Kumar.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!