| Package | Description |
|---|---|
| javax.sound.sampled | |
| javax.sound.sampled.spi |
| Modifier and Type | Method and Description |
|---|---|
static AudioInputStream |
AudioSystem.getAudioInputStream(AudioFormat.Encoding targetEncoding,
AudioInputStream sourceStream)
Obtains an audio input stream of the indicated encoding, by converting the
provided audio input stream.
|
static AudioInputStream |
AudioSystem.getAudioInputStream(AudioFormat targetFormat,
AudioInputStream sourceStream)
Obtains an audio input stream of the indicated format, by converting the
provided audio input stream.
|
static AudioInputStream |
AudioSystem.getAudioInputStream(File file)
Obtains an audio input stream from the provided
File. |
static AudioInputStream |
AudioSystem.getAudioInputStream(InputStream stream)
Obtains an audio input stream from the provided input stream.
|
static AudioInputStream |
AudioSystem.getAudioInputStream(URL url)
Obtains an audio input stream from the URL provided.
|
| Modifier and Type | Method and Description |
|---|---|
static AudioFileFormat.Type[] |
AudioSystem.getAudioFileTypes(AudioInputStream stream)
Obtains the file types that the system can write from the
audio input stream specified.
|
static AudioInputStream |
AudioSystem.getAudioInputStream(AudioFormat.Encoding targetEncoding,
AudioInputStream sourceStream)
Obtains an audio input stream of the indicated encoding, by converting the
provided audio input stream.
|
static AudioInputStream |
AudioSystem.getAudioInputStream(AudioFormat targetFormat,
AudioInputStream sourceStream)
Obtains an audio input stream of the indicated format, by converting the
provided audio input stream.
|
static boolean |
AudioSystem.isFileTypeSupported(AudioFileFormat.Type fileType,
AudioInputStream stream)
Indicates whether an audio file of the specified file type can be written
from the indicated audio input stream.
|
void |
Clip.open(AudioInputStream stream)
Opens the clip with the format and audio data present in the provided audio
input stream.
|
static int |
AudioSystem.write(AudioInputStream stream,
AudioFileFormat.Type fileType,
File out)
Writes a stream of bytes representing an audio file of the specified file type
to the external file provided.
|
static int |
AudioSystem.write(AudioInputStream stream,
AudioFileFormat.Type fileType,
OutputStream out)
Writes a stream of bytes representing an audio file of the specified file type
to the output stream provided.
|
| Modifier and Type | Method and Description |
|---|---|
abstract AudioInputStream |
FormatConversionProvider.getAudioInputStream(AudioFormat.Encoding targetEncoding,
AudioInputStream sourceStream)
Obtains an audio input stream with the specified encoding from the given audio
input stream.
|
abstract AudioInputStream |
FormatConversionProvider.getAudioInputStream(AudioFormat targetFormat,
AudioInputStream sourceStream)
Obtains an audio input stream with the specified format from the given audio
input stream.
|
abstract AudioInputStream |
AudioFileReader.getAudioInputStream(File file)
Obtains an audio input stream from the
File provided. |
abstract AudioInputStream |
AudioFileReader.getAudioInputStream(InputStream stream)
Obtains an audio input stream from the input stream provided.
|
abstract AudioInputStream |
AudioFileReader.getAudioInputStream(URL url)
Obtains an audio input stream from the URL provided.
|
| Modifier and Type | Method and Description |
|---|---|
abstract AudioFileFormat.Type[] |
AudioFileWriter.getAudioFileTypes(AudioInputStream stream)
Obtains the file types that this audio file writer can write from the
audio input stream specified.
|
abstract AudioInputStream |
FormatConversionProvider.getAudioInputStream(AudioFormat.Encoding targetEncoding,
AudioInputStream sourceStream)
Obtains an audio input stream with the specified encoding from the given audio
input stream.
|
abstract AudioInputStream |
FormatConversionProvider.getAudioInputStream(AudioFormat targetFormat,
AudioInputStream sourceStream)
Obtains an audio input stream with the specified format from the given audio
input stream.
|
boolean |
AudioFileWriter.isFileTypeSupported(AudioFileFormat.Type fileType,
AudioInputStream stream)
Indicates whether an audio file of the type specified can be written
from the audio input stream indicated.
|
abstract int |
AudioFileWriter.write(AudioInputStream stream,
AudioFileFormat.Type fileType,
File out)
Writes a stream of bytes representing an audio file of the file format
indicated to the external file provided.
|
abstract int |
AudioFileWriter.write(AudioInputStream stream,
AudioFileFormat.Type fileType,
OutputStream out)
Writes a stream of bytes representing an audio file of the file type
indicated to the output stream provided.
|
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.