Java examples for javax.sound.sampled:Sound
print Sound Max Lines
//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 }