JavaSoundAudioDevice dev = (JavaSoundAudioDevice)instantiate(loader, DEVICE_CLASS_NAME);
return dev;
}
catch (Exception ex)
{
throw new JavaLayerException("Cannot create JavaSound device", ex);
}
catch (LinkageError ex)
{
throw new JavaLayerException("Cannot create JavaSound device", ex);
}
}