aspose file tools*
The moose likes Game Development and the fly likes browsers, sounds and media players Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Game Development
Bookmark "browsers, sounds and media players" Watch "browsers, sounds and media players" New topic
Author

browsers, sounds and media players

Tom Clement
Greenhorn

Joined: Mar 21, 2004
Posts: 26
I tried this question in other forums with no responses, maybe
I've been in the wrong ones.

One of my applets, one that uses a few sound clips, takes control
of my sound device and won't return control until the browser's closed.
Even if you go to another website! I'd like to know if I'm missing some code, besides "stop" which would force the applet to relinquish control.

here's the basic code:

public void playsound(String soundeffect)
{
soundfile = getAudioClip(getCodeBase(),soundeffect);

if(soundfile != null)
soundfile.play();


}//end playsound

Can anyone help? Thanks, Tom
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: browsers, sounds and media players