Package | Description |
---|---|
javax.sound.sampled |
Provides interfaces and classes for capture, processing, and playback of sampled audio data.
|
Modifier and Type | Class | Description |
---|---|---|
static class |
DataLine.Info |
Besides the class information inherited from its superclass,
DataLine.Info provides additional information specific to data
lines. |
static class |
Port.Info |
The
Port.Info class extends Line.Info 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 | Description |
---|---|---|
Line.Info |
Line.getLineInfo() |
Obtains the
Line.Info object describing this line. |
static Line.Info[] |
AudioSystem.getSourceLineInfo(Line.Info info) |
Obtains information about all source lines of a particular type that are
supported by the installed mixers.
|
Line.Info[] |
Mixer.getSourceLineInfo() |
Obtains information about the set of source lines supported by this
mixer.
|
Line.Info[] |
Mixer.getSourceLineInfo(Line.Info info) |
Obtains information about source lines of a particular type supported by
the mixer.
|
static Line.Info[] |
AudioSystem.getTargetLineInfo(Line.Info info) |
Obtains information about all target lines of a particular type that are
supported by the installed mixers.
|
Line.Info[] |
Mixer.getTargetLineInfo() |
Obtains information about the set of target lines supported by this
mixer.
|
Line.Info[] |
Mixer.getTargetLineInfo(Line.Info info) |
Obtains information about target lines of a particular type supported by
the mixer.
|
Modifier and Type | Method | Description |
---|---|---|
static Line |
AudioSystem.getLine(Line.Info info) |
Obtains a line that matches the description in the specified
Line.Info object. |
Line |
Mixer.getLine(Line.Info info) |
Obtains a line that is available for use and that matches the description
in the specified
Line.Info object. |
int |
Mixer.getMaxLines(Line.Info info) |
Obtains the approximate maximum number of lines of the requested type
that can be open simultaneously on the mixer.
|
static Line.Info[] |
AudioSystem.getSourceLineInfo(Line.Info info) |
Obtains information about all source lines of a particular type that are
supported by the installed mixers.
|
Line.Info[] |
Mixer.getSourceLineInfo(Line.Info info) |
Obtains information about source lines of a particular type supported by
the mixer.
|
static Line.Info[] |
AudioSystem.getTargetLineInfo(Line.Info info) |
Obtains information about all target lines of a particular type that are
supported by the installed mixers.
|
Line.Info[] |
Mixer.getTargetLineInfo(Line.Info info) |
Obtains information about target lines of a particular type supported by
the mixer.
|
static boolean |
AudioSystem.isLineSupported(Line.Info info) |
Indicates whether the system supports any lines that match the specified
Line.Info object. |
boolean |
Mixer.isLineSupported(Line.Info info) |
Indicates whether the mixer supports a line (or lines) that match the
specified
Line.Info object. |
boolean |
DataLine.Info.matches(Line.Info info) |
Determines whether the specified info object matches this one.
|
boolean |
Line.Info.matches(Line.Info info) |
Indicates whether the specified info object matches this one.
|
boolean |
Port.Info.matches(Line.Info info) |
Indicates whether this info object specified matches this one.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b151-2