I have Code Which plays a mp3 file java.
The issue that I encounter was that,
--> The audio output was only heard when program ran under the debug mode with breakpoints, but not under Run mode.
What could be the possible way counter this issue? I have attached the code for better understanding.
FileInputStream mp3_file=new FileInputStream("xyz.mp3");
Player mp3=new Player(mp3_file);
mp3.play();
System.out.println("Over");