javax.sound.sampled
public static class DataLine.Info extends Line.Info
Since: 1.3
Constructor Summary | |
---|---|
Info(Class<?> klass, AudioFormat fmt)
Create a new Info given the line's class and a supported
audio format. | |
Info(Class<?> klass, AudioFormat[] fmts, int minSize, int maxSize)
Create a new Info given the line's class, the supported audio formats,
the minimum buffer size, and the maximum buffer size. | |
Info(Class<?> klass, AudioFormat fmt, int size)
Create a new Info given the line's class, a supported
audio format, and a buffer size. |
Method Summary | |
---|---|
AudioFormat[] | getFormats()
Return the supported audio formats. |
int | getMaxBufferSize()
Return the maximum buffer size. |
int | getMinBufferSize()
Return the minimum buffer size. |
boolean | isFormatSupported(AudioFormat fmt)
Return true if the indicated audio format is supported by this
Info, false otherwise. |
boolean | matches(Line.Info o)
Return true if this Info matches another Info object. |
String | toString()
Return a description of this Info object. |
Parameters: klass the class of the line fmt the supported format
Parameters: klass the class of the linee fmts the supported audio formats minSize the minimum buffer size maxSize the maximum buffer size
Parameters: klass the class of the line fmt the supported format size the buffer size
Parameters: fmt the audio format
Returns: true if the format is supported