/** Implements callable interface: Loads the AudioDevice and returns it*/
public AudioDevice call(){
try{
// Get AudioDevice from Registry
FactoryRegistry factoryregistry = FactoryRegistry.systemRegistry();
AudioDevice audio = factoryregistry.createAudioDevice();
return audio;
}
catch(Exception ee){
System.err.println("Could not load audio driver");
ee.printStackTrace();