Java javax.sound.sampled AudioSystem fields, constructors, methods, implement or subclass

Example usage for Java javax.sound.sampled AudioSystem fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.sound.sampled AudioSystem.

The text is from its open source code.

Field

intNOT_SPECIFIED
An integer that stands for an unknown numeric value.

Method

AudioFileFormatgetAudioFileFormat(final InputStream stream)
Obtains the audio file format of the provided input stream.
AudioFileFormatgetAudioFileFormat(final URL url)
Obtains the audio file format of the specified URL .
AudioFileFormatgetAudioFileFormat(final File file)
Obtains the audio file format of the specified File .
AudioFileFormat.Type[]getAudioFileTypes()
Obtains the file types for which file writing support is provided by the system.
AudioInputStreamgetAudioInputStream(final InputStream stream)
Obtains an audio input stream from the provided input stream.
AudioInputStreamgetAudioInputStream(final URL url)
Obtains an audio input stream from the URL provided.
AudioInputStreamgetAudioInputStream(final File file)
Obtains an audio input stream from the provided File .
AudioInputStreamgetAudioInputStream(AudioFormat.Encoding targetEncoding, AudioInputStream sourceStream)
Obtains an audio input stream of the indicated encoding, by converting the provided audio input stream.
AudioInputStreamgetAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream)
Obtains an audio input stream of the indicated format, by converting the provided audio input stream.
ClipgetClip()
Obtains a clip that can be used for playing back an audio file or an audio stream.
LinegetLine(Line.Info info)
Obtains a line that matches the description in the specified Line.Info object.
MixergetMixer(final Mixer.Info info)
Obtains the requested audio mixer.
Mixer.Info[]getMixerInfo()
Obtains an array of mixer info objects that represents the set of audio mixers that are currently installed on the system.
SourceDataLinegetSourceDataLine(AudioFormat format)
Obtains a source data line that can be used for playing back audio data in the format specified by the AudioFormat object.
TargetDataLinegetTargetDataLine(AudioFormat format)
Obtains a target data line that can be used for recording audio data in the format specified by the AudioFormat object.
booleanisConversionSupported(AudioFormat.Encoding targetEncoding, AudioFormat sourceFormat)
Indicates whether an audio input stream of the specified encoding can be obtained from an audio input stream that has the specified format.
booleanisConversionSupported(AudioFormat targetFormat, AudioFormat sourceFormat)
Indicates whether an audio input stream of a specified format can be obtained from an audio input stream of another specified format.
booleanisLineSupported(Line.Info info)
Indicates whether the system supports any lines that match the specified Line.Info object.
intwrite(final AudioInputStream stream, final AudioFileFormat.Type fileType, final OutputStream out)
Writes a stream of bytes representing an audio file of the specified file type to the output stream provided.
intwrite(final AudioInputStream stream, final AudioFileFormat.Type fileType, final File out)
Writes a stream of bytes representing an audio file of the specified file type to the external file provided.