| Package | Description |
|---|---|
| javax.sound.sampled |
Provides interfaces and classes for capture, processing, and playback of sampled audio data.
|
| javax.sound.sampled.spi |
Supplies abstract classes for service providers to subclass when offering new audio devices, sound file readers and writers, or audio format converters.
|
| Modifier and Type | Method and Description |
|---|---|
static Mixer |
AudioSystem.getMixerInfo()
Obtains an array of mixer info objects that represents the set of audio mixers that are currently installed on the system.
|
Mixer |
Mixer.getMixerInfo()
Obtains information about this mixer, including the product's name, version, vendor, etc.
|
| Modifier and Type | Method and Description |
|---|---|
static Clip |
AudioSystem.getClip(Mixer
Obtains a clip from the specified mixer that can be used for playing back an audio file or an audio stream.
|
static Mixer |
AudioSystem.getMixer(Mixer
Obtains the requested audio mixer.
|
static SourceDataLine |
AudioSystem.getSourceDataLine(AudioFormat
Obtains a source data line that can be used for playing back audio data in the format specified by the
AudioFormat object, provided by the mixer specified by the
Mixer.Info object.
|
static TargetDataLine |
AudioSystem.getTargetDataLine(AudioFormat
Obtains a target data line that can be used for recording audio data in the format specified by the
AudioFormat object, provided by the mixer specified by the
Mixer.Info object.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Mixer |
MixerProvider.getMixerInfo()
Obtains the set of info objects representing the mixer or mixers provided by this MixerProvider.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Mixer |
MixerProvider.getMixer(Mixer
Obtains an instance of the mixer represented by the info object.
|
boolean |
MixerProvider.isMixerSupported(Mixer
Indicates whether the mixer provider supports the mixer represented by the specified mixer info object.
|