J
Jenny
HI,
In the code, it used a package sun.audio. Could you help to find it?
Thank a lot.
import java.io.*;
import sun.audio.*;
class TestAudio
{
public static void main(String args[])
{
FileInputStream fis_sound;
int i;
try
{
fis_sound = new FileInputStream("ladieu.wav");
System.out.println("Playing sound...");
AudioPlayer.player.start(fis_sound);
while (true)
;
}
catch (Exception e){
System.out.println(e);}
}
}
In the code, it used a package sun.audio. Could you help to find it?
Thank a lot.
import java.io.*;
import sun.audio.*;
class TestAudio
{
public static void main(String args[])
{
FileInputStream fis_sound;
int i;
try
{
fis_sound = new FileInputStream("ladieu.wav");
System.out.println("Playing sound...");
AudioPlayer.player.start(fis_sound);
while (true)
;
}
catch (Exception e){
System.out.println(e);}
}
}