print Sound Max Lines - Java javax.sound.sampled

Java examples for javax.sound.sampled:Sound

Description

print Sound Max Lines

Demo Code


//package com.java2s;

import javax.sound.sampled.DataLine;

import javax.sound.sampled.Mixer;

public class Main {
    private static void printMaxLines(Mixer mixer, DataLine.Info lineInfo) {
        System.out.println("Max " + lineInfo.getLineClass().getName()
                + " lines:" + mixer.getMaxLines(lineInfo));
    }//from   ww  w.j  ava2  s.  com
}

Related Tutorials