protected internal virtual JavaSoundAudioDevice createAudioDeviceImpl() { //UPGRADE_ISSUE: Class 'java.lang.ClassLoader' was not converted. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1000_javalangClassLoader"' //UPGRADE_ISSUE: Method 'java.lang.Class.getClassLoader' was not converted. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1000_javalangClassgetClassLoader"' ClassLoader loader = GetType().getClassLoader(); try { JavaSoundAudioDevice dev = (JavaSoundAudioDevice)instantiate(loader, DEVICE_CLASS_NAME); return(dev); } catch (System.Exception ex) { throw new JavaLayerException("Cannot create JavaSound device", ex); } catch (System.ApplicationException ex) { throw new JavaLayerException("Cannot create JavaSound device", ex); } }
public virtual void testAudioDevice() { JavaSoundAudioDevice dev = createAudioDeviceImpl(); dev.test(); }