Example usage for Java javax.sound.sampled AudioSystem fields, constructors, methods, implement or subclass
The text is from its open source code.
int | NOT_SPECIFIED An integer that stands for an unknown numeric value. |
AudioFileFormat | getAudioFileFormat(final InputStream stream) Obtains the audio file format of the provided input stream. |
AudioFileFormat | getAudioFileFormat(final URL url) Obtains the audio file format of the specified URL . |
AudioFileFormat | getAudioFileFormat(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. |
AudioInputStream | getAudioInputStream(final InputStream stream) Obtains an audio input stream from the provided input stream. |
AudioInputStream | getAudioInputStream(final URL url) Obtains an audio input stream from the URL provided. |
AudioInputStream | getAudioInputStream(final File file) Obtains an audio input stream from the provided File . |
AudioInputStream | getAudioInputStream(AudioFormat.Encoding targetEncoding, AudioInputStream sourceStream) Obtains an audio input stream of the indicated encoding, by converting the provided audio input stream. |
AudioInputStream | getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream) Obtains an audio input stream of the indicated format, by converting the provided audio input stream. |
Clip | getClip() Obtains a clip that can be used for playing back an audio file or an audio stream. |
Line | getLine(Line.Info info) Obtains a line that matches the description in the specified Line.Info object. |
Mixer | getMixer(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. |
SourceDataLine | getSourceDataLine(AudioFormat format) Obtains a source data line that can be used for playing back audio data in the format specified by the AudioFormat object. |
TargetDataLine | getTargetDataLine(AudioFormat format) Obtains a target data line that can be used for recording audio data in the format specified by the AudioFormat object. |
boolean | isConversionSupported(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. |
boolean | isConversionSupported(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. |
boolean | isLineSupported(Line.Info info) Indicates whether the system supports any lines that match the specified Line.Info object. |
int | write(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. |
int | write(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. |