JavaTM 2 Platform
Std. Ed. v1.3.1

Uses of Class
javax.sound.sampled.AudioInputStream

Packages that use AudioInputStream
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
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(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.
static AudioInputStream AudioSystem.getAudioInputStream(File file)
          Obtains an audio input stream from the provided File.
 

Methods in javax.sound.sampled with parameters of type AudioInputStream
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 AudioFileFormat.Type[] AudioSystem.getAudioFileTypes(AudioInputStream stream)
          Obtains the file types that the system can write from the audio input stream specified.
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.
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.
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.
 void Clip.open(AudioInputStream stream)
          Opens the clip with the format and audio data present in the provided audio input stream.
 

Uses of AudioInputStream in javax.sound.sampled.spi
 

Methods in javax.sound.sampled.spi that return AudioInputStream
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(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.
abstract  AudioInputStream AudioFileReader.getAudioInputStream(File file)
          Obtains an audio input stream from the File provided.
 

Methods in javax.sound.sampled.spi with parameters of type AudioInputStream
abstract  AudioFileFormat.Type[] AudioFileWriter.getAudioFileTypes(AudioInputStream stream)
          Obtains the file types that this audio file writer can write from the audio input stream specified.
 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, OutputStream out)
          Writes a stream of bytes representing an audio file of the file type indicated to the output stream provided.
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  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.
 


JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.