Package javax.sound.sampled
Provides interfaces and classes for capture, processing, and playback of sampled audio data.
Related Documentation
For more information on using Java Sound see: Please note: In thejavax.sound.sampled
APIs, a null
reference parameter to methods is incorrect unless explicitly documented on the method as having a meaningful interpretation. Usage to the contrary is incorrect coding and may result in a run time exception either immediately or at some later time. NullPointerException
is an example of typical and acceptable run time exception for such cases. - Since:
- 1.3
Interface | Description |
---|---|
Clip | The |
DataLine |
|
Line | The |
LineListener | Instances of classes that implement the |
Mixer | A mixer is an audio device with one or more lines. |
Port | Ports are simple lines for input or output of audio to or from audio devices. |
SourceDataLine | A source data line is a data line to which data may be written. |
TargetDataLine | A target data line is a type of |
Class | Description |
---|---|
AudioFileFormat | An instance of the |
AudioFileFormat.Type | An instance of the |
AudioFormat |
|
AudioFormat.Encoding | The |
AudioInputStream | An audio input stream is an input stream with a specified audio format and length. |
AudioPermission | The |
AudioSystem | The |
BooleanControl | A |
BooleanControl.Type | An instance of the |
CompoundControl | A |
CompoundControl.Type | An instance of the |
Control |
|
Control.Type | An instance of the |
DataLine.Info | Besides the class information inherited from its superclass, |
EnumControl | An |
EnumControl.Type | An instance of the |
FloatControl | A |
FloatControl.Type | An instance of the |
Line.Info | A |
LineEvent | The |
LineEvent.Type | The LineEvent.Type inner class identifies what kind of event occurred on a line. |
Mixer.Info | The |
Port.Info | The |
ReverbType | The |
Exception | Description |
---|---|
LineUnavailableException | A |
UnsupportedAudioFileException | An |
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/sound/sampled/package-summary.html