File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Playing multiple audios Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Playing multiple audios" Watch "Playing multiple audios" New topic

Playing multiple audios

S Santosh Kumar
Ranch Hand

Joined: Mar 14, 2004
Posts: 43
Hi everyone,

I'm building a Swing GUI, which has a background music( thread ) running constantly in background. I want to play some audio clips when user perfoms some operation with still background music running.
Somehow I'm not successful. Is there any way to play multiple mixed audios in thread or once the audio device is occupied by one thread, other threads cannot use it.


Early bird catches the worm, but remember "early worm" gets caught by bird.
I agree. Here's the link:
subject: Playing multiple audios
jQuery in Action, 3rd edition