文章列表
//播放音频文件
public void play(){
String fileurl = "e:\\xxx.wav";
try{
InputStream in=new FileInputStream(new File(fileurl));
BufferedInputStream sb=new BufferedInputStream(in);
AudioInputStream ais = AudioSystem.getAudioInputStream (sb);
...