FileDocCategorySizeDatePackage
JavaSoundDetector.javaAPI DocJMF 2.1.1e560Mon May 12 12:20:34 BST 2003None

JavaSoundDetector

public class JavaSoundDetector extends Object

Fields Summary
boolean
supported
Constructors Summary
public JavaSoundDetector()


      
	try {
	    DataLine.Info info = new DataLine.Info(TargetDataLine.class,
						   null,
						   AudioSystem.NOT_SPECIFIED);
	    supported = AudioSystem.isLineSupported(info);

	} catch (Exception ex) {
	    supported = false;
	}
    
Methods Summary
public booleanisSupported()

	return supported;