| Package | Description |
|---|---|
| javax.sound.sampled |
Provides interfaces and classes for capture, processing, and playback of sampled audio data.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Clip
The
Clip interface represents a special kind of data line whose audio data can be loaded prior to playback, instead of being streamed in real time.
|
interface |
DataLine
DataLine adds media-related functionality to its superinterface,
.
|
interface |
Mixer
A mixer is an audio device with one or more lines.
|
interface |
Port
Ports are simple lines for input or output of audio to or from audio devices.
|
interface |
SourceDataLine
A source data line is a data line to which data may be written.
|
interface |
TargetDataLine
A target data line is a type of
from which audio data can be read.
|
| Modifier and Type | Method and Description |
|---|---|
Line |
LineEvent.getLine()
Obtains the audio line that is the source of this event.
|
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.
|
Line |
Mixer.getSourceLines()
Obtains the set of all source lines currently open to this mixer.
|
Line |
Mixer.getTargetLines()
Obtains the set of all target lines currently open from this mixer.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Mixer.isSynchronizationSupported(Line
Reports whether this mixer supports synchronization of the specified set of lines.
|
void |
Mixer.synchronize(Line
Synchronizes two or more lines.
|
void |
Mixer.unsynchronize(Line
Releases synchronization for the specified lines.
|
| Constructor and Description | |
|---|---|
LineEvent(Line
Constructs a new event of the specified type, originating from the specified line.
|