APIdia Launch Partner
Top Description Constructors Methods
com.sun.media.sound

public final Class AiffFileReader

extends SunFileReader
Class Inheritance
Imports
java.io.DataInputStream, .IOException, .InputStream, javax.sound.sampled.AudioFileFormat.Type, .AudioFormat, .AudioSystem, .UnsupportedAudioFileException

AIFF file reader and writer.
Authors
Kara Kytle, Jan Borgersen, Florian Bomers

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv StandardFileFormat
getAudioFileFormatImpl(final InputStream stream)

Implements abstract com.sun.media.sound.SunFileReader.getAudioFileFormatImpl.

Obtains the audio file format of the input stream provided.

private double

Returns:

double
read_ieee_extended
(DataInputStream dis)

read_ieee_extended Extended precision IEEE floating-point conversion routine.

Inherited from com.sun.media.sound.SunFileReader:
big2littlebig2littleShortcalculatePCMFrameSizegetAudioFileFormatgetAudioFileFormatgetAudioFileFormatgetAudioInputStreamgetAudioInputStreamgetAudioInputStreamrllongrlshort

Constructor Detail

AiffFileReaderback to summary
public AiffFileReader()

Method Detail

getAudioFileFormatImplback to summary
pack-priv StandardFileFormat getAudioFileFormatImpl(final InputStream stream) throws UnsupportedAudioFileException, IOException

Implements abstract com.sun.media.sound.SunFileReader.getAudioFileFormatImpl.

Doc from com.sun.media.sound.SunFileReader.getAudioFileFormatImpl.

Obtains the audio file format of the input stream provided. The stream must point to valid audio file data. Note that default implementation of getAudioInputStream(InputStream) assume that this method leaves the input stream at the beginning of the audio data.

Annotations
@Override
Exceptions
UnsupportedAudioFileException:
if the stream does not point to valid audio file data recognized by the system
IOException:
if an I/O exception occurs
read_ieee_extendedback to summary
private double read_ieee_extended(DataInputStream dis) throws IOException

read_ieee_extended Extended precision IEEE floating-point conversion routine.

Returns:double

double