is sound Port - Java javax.sound.sampled

Java examples for javax.sound.sampled:Sound

Description

is sound Port

Demo Code


//package com.java2s;
import javax.sound.sampled.*;

public class Main {
    private static Line.Info portInfo = new Line.Info(Port.class);

    public static boolean isPort(Mixer mixer) {
        return mixer.isLineSupported(portInfo);
    }/*w  w  w  . j a v a  2 s .  c om*/
}

Related Tutorials