i make this simple code to play .wave file
the code run correctly but the file not play , what's the problem ???Code:public class Main {
public static void main(String[] args) throws FileNotFoundException, IOException {
InputStream in = new FileInputStream("music/buzz.wav");
AudioStream as = new AudioStream(in);
AudioPlayer.player.start(as);
AudioPlayer.player.stop(as);
}
}
