is sound Source Data Line - Java javax.sound.sampled

Java examples for javax.sound.sampled:Sound

Description

is sound Source Data Line

Demo Code


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

public class Main {
    private static Line.Info sdInfo = new Line.Info(SourceDataLine.class);

    public static boolean isSourceDataLine(Mixer mixer)
    // used for playback of audio
    {//from  ww w  .  j a  v  a  2s  .  c om
        return mixer.isLineSupported(sdInfo);
    }
}

Related Tutorials