Hi all..

I'm developing an application whereby i'm playing wave files.. But i get the error "javax.sound.sampled.LineUnavailableException: No Free Voices". Does anyone know what this error means? below is the source codes where i play the wave file. i stop the previous wave file from playing before i play a new one.

try {
p.stop();
p.deallocate();
}
catch (Exception e1) {}

try {
p = Manager.createPlayer(getClass().getResourceAsStream(wavLink), "audio/x-wav");
p.realize();
p.prefetch();
p.start();
}
catch (MediaException pe) System.out.println(pe.toString());
}
catch (IOException ioe) {
System.out.println(ioe.toString());
}


Thanks and regards..