Liking cljdoc? Tell your friends :D

javax.sound.sampled.spi.AudioFileReader

Provider for audio file reading services. Classes providing concrete implementations can parse the format information from one or more types of audio file, and can produce audio input streams from files of these types.

Provider for audio file reading services.  Classes providing concrete
implementations can parse the format information from one or more types of
audio file, and can produce audio input streams from files of these types.
raw docstring

->audio-file-readerclj

(->audio-file-reader)

Constructor.

Constructor.
raw docstring

get-audio-file-formatclj

(get-audio-file-format this stream)

Obtains the audio file format of the input stream provided. The stream must point to valid audio file data. In general, audio file readers may need to read some data from the stream before determining whether they support it. These parsers must be able to mark the stream, read enough data to determine whether they support the stream, and, if not, reset the stream's read pointer to its original position. If the input stream does not support this, this method may fail with an IOException.

stream - the input stream from which file format information should be extracted - java.io.InputStream

returns: an AudioFileFormat object describing the audio file format - javax.sound.sampled.AudioFileFormat

throws: javax.sound.sampled.UnsupportedAudioFileException - if the stream does not point to valid audio file data recognized by the system

Obtains the audio file format of the input stream provided.  The stream must
 point to valid audio file data.  In general, audio file readers may
 need to read some data from the stream before determining whether they
 support it.  These parsers must
 be able to mark the stream, read enough data to determine whether they
 support the stream, and, if not, reset the stream's read pointer to its original
 position.  If the input stream does not support this, this method may fail
 with an IOException.

stream - the input stream from which file format information should be extracted - `java.io.InputStream`

returns: an AudioFileFormat object describing the audio file format - `javax.sound.sampled.AudioFileFormat`

throws: javax.sound.sampled.UnsupportedAudioFileException - if the stream does not point to valid audio file data recognized by the system
raw docstring

get-audio-input-streamclj

(get-audio-input-stream this stream)

Obtains an audio input stream from the input stream provided. The stream must point to valid audio file data. In general, audio file readers may need to read some data from the stream before determining whether they support it. These parsers must be able to mark the stream, read enough data to determine whether they support the stream, and, if not, reset the stream's read pointer to its original position. If the input stream does not support this, this method may fail with an IOException.

stream - the input stream from which the AudioInputStream should be constructed - java.io.InputStream

returns: an AudioInputStream object based on the audio file data contained in the input stream. - javax.sound.sampled.AudioInputStream

throws: javax.sound.sampled.UnsupportedAudioFileException - if the stream does not point to valid audio file data recognized by the system

Obtains an audio input stream from the input stream provided.  The stream must
 point to valid audio file data.  In general, audio file readers may
 need to read some data from the stream before determining whether they
 support it.  These parsers must
 be able to mark the stream, read enough data to determine whether they
 support the stream, and, if not, reset the stream's read pointer to its original
 position.  If the input stream does not support this, this method may fail
 with an IOException.

stream - the input stream from which the AudioInputStream should be constructed - `java.io.InputStream`

returns: an AudioInputStream object based on the audio file data contained
 in the input stream. - `javax.sound.sampled.AudioInputStream`

throws: javax.sound.sampled.UnsupportedAudioFileException - if the stream does not point to valid audio file data recognized by the system
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close