Module java.desktop

Class DataLine.Info

java.lang.Object
javax.sound.sampled.Line.Info
javax.sound.sampled.DataLine.Info
Enclosing interface:
DataLine

public static class DataLine.Info extends Line.Info
Besides the class information inherited from its superclass, DataLine.Info provides additional information specific to data lines. This information includes:
  • the audio formats supported by the data line
  • the minimum and maximum sizes of its internal buffer
Because a Line.Info knows the class of the line its describes, a DataLine.Info object can describe DataLine subinterfaces such as SourceDataLine, TargetDataLine, and Clip. You can query a mixer for lines of any of these types, passing an appropriate instance of DataLine.Info as the argument to a method such as Mixer.getLine(Line.Info).
Since:
1.3
See Also: