| Package | Description |
|---|---|
| javax.sound.sampled |
Provides interfaces and classes for capture, processing, and playback of sampled audio data.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
DataLine
Besides the class information inherited from its superclass,
DataLine.Info provides additional information specific to data lines.
|
static class |
Port
The
Port.Info class extends
with additional information specific to ports, including the port's name and whether it is a source or a target for its mixer.
|
| Modifier and Type | Method and Description |
|---|---|
Line |
Line.getLineInfo()
Obtains the
Line.Info object describing this line.
|
Line |
Mixer.getSourceLineInfo()
Obtains information about the set of source lines supported by this mixer.
|
static Line |
AudioSystem.getSourceLineInfo(Line
Obtains information about all source lines of a particular type that are supported by the installed mixers.
|
Line |
Mixer.getSourceLineInfo(Line
Obtains information about source lines of a particular type supported by the mixer.
|
Line |
Mixer.getTargetLineInfo()
Obtains information about the set of target lines supported by this mixer.
|
static Line |
AudioSystem.getTargetLineInfo(Line
Obtains information about all target lines of a particular type that are supported by the installed mixers.
|
Line |
Mixer.getTargetLineInfo(Line
Obtains information about target lines of a particular type supported by the mixer.
|
| Modifier and Type | Method and Description |
|---|---|
static Line |
AudioSystem.getLine(Line
Obtains a line that matches the description in the specified
Line.Info object.
|
Line |
Mixer.getLine(Line
Obtains a line that is available for use and that matches the description in the specified
Line.Info object.
|
int |
Mixer.getMaxLines(Line
Obtains the approximate maximum number of lines of the requested type that can be open simultaneously on the mixer.
|
static Line |
AudioSystem.getSourceLineInfo(Line
Obtains information about all source lines of a particular type that are supported by the installed mixers.
|
Line |
Mixer.getSourceLineInfo(Line
Obtains information about source lines of a particular type supported by the mixer.
|
static Line |
AudioSystem.getTargetLineInfo(Line
Obtains information about all target lines of a particular type that are supported by the installed mixers.
|
Line |
Mixer.getTargetLineInfo(Line
Obtains information about target lines of a particular type supported by the mixer.
|
static boolean |
AudioSystem.isLineSupported(Line
Indicates whether the system supports any lines that match the specified
Line.Info object.
|
boolean |
Mixer.isLineSupported(Line
Indicates whether the mixer supports a line (or lines) that match the specified
Line.Info object.
|
boolean |
Port.Info.matches(Line
Indicates whether this info object specified matches this one.
|
boolean |
DataLine.Info.matches(Line
Determines whether the specified info object matches this one.
|
boolean |
Line.Info.matches(Line
Indicates whether the specified info object matches this one.
|