Thanks a lot for your reply.
I have also the approach you suggested, but it doesn't work for Mac.
Do we any other built-in API to play Sound, because I don't want to use any third party...
Type: Posts; User: surendhar
Thanks a lot for your reply.
I have also the approach you suggested, but it doesn't work for Mac.
Do we any other built-in API to play Sound, because I don't want to use any third party...
'soundClip' is instance of javax.sound.sampled.Clip.
public void play() throws Exception
{
AudioInputStream stream = AudioSystem.getAudioInputStream( new FileInputStream(new...
Hi All
I am trying to implement sound player in Java as following.
public void play() throws Exception
{
AudioInputStream stream = AudioSystem.getAudioInputStream( new FileInputStream(new...