Uses of Class
javax.sound.sampled.AudioInputStream
-
Packages that use AudioInputStream 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. -
-
Uses of AudioInputStream in javax.sound.sampled
Methods in javax.sound.sampled that return AudioInputStream Modifier and Type Method Description static AudioInputStreamAudioSystem. getAudioInputStream(File file)Obtains an audio input stream from the providedFile.static AudioInputStreamAudioSystem. getAudioInputStream(InputStream stream)Obtains an audio input stream from the provided input stream.static AudioInputStreamAudioSystem. getAudioInputStream(URL url)Obtains an audio input stream from theURLprovided.static AudioInputStreamAudioSystem. getAudioInputStream(AudioFormat.Encoding targetEncoding, AudioInputStream sourceStream)Obtains an audio input stream of the indicated encoding, by converting the provided audio input stream.static AudioInputStreamAudioSystem. getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream)Obtains an audio input stream of the indicated format, by converting the provided audio input stream.Methods in javax.sound.sampled with parameters of type AudioInputStream Modifier and Type Method Description static AudioFileFormat.Type[]AudioSystem. getAudioFileTypes(AudioInputStream stream)Obtains the file types that the system can write from the audio input stream specified.static AudioInputStreamAudioSystem. getAudioInputStream(AudioFormat.Encoding targetEncoding, AudioInputStream sourceStream)Obtains an audio input stream of the indicated encoding, by converting the provided audio input stream.static AudioInputStreamAudioSystem. getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream)Obtains an audio input stream of the indicated format, by converting the provided audio input stream.static booleanAudioSystem. 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.voidClip. open(AudioInputStream stream)Opens the clip with the format and audio data present in the provided audio input stream.static intAudioSystem. 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 intAudioSystem. 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. -
Uses of AudioInputStream in javax.sound.sampled.spi
Methods in javax.sound.sampled.spi that return AudioInputStream Modifier and Type Method Description abstract AudioInputStreamAudioFileReader. getAudioInputStream(File file)Obtains an audio input stream from theFileprovided.abstract AudioInputStreamAudioFileReader. getAudioInputStream(InputStream stream)Obtains an audio input stream from the input stream provided.abstract AudioInputStreamAudioFileReader. getAudioInputStream(URL url)Obtains an audio input stream from theURLprovided.abstract AudioInputStreamFormatConversionProvider. getAudioInputStream(AudioFormat.Encoding targetEncoding, AudioInputStream sourceStream)Obtains an audio input stream with the specified encoding from the given audio input stream.abstract AudioInputStreamFormatConversionProvider. getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream)Obtains an audio input stream with the specified format from the given audio input stream.Methods in javax.sound.sampled.spi with parameters of type AudioInputStream Modifier and Type Method 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 AudioInputStreamFormatConversionProvider. getAudioInputStream(AudioFormat.Encoding targetEncoding, AudioInputStream sourceStream)Obtains an audio input stream with the specified encoding from the given audio input stream.abstract AudioInputStreamFormatConversionProvider. getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream)Obtains an audio input stream with the specified format from the given audio input stream.booleanAudioFileWriter. 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 intAudioFileWriter. 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 intAudioFileWriter. 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.
-