| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final AudioFormat. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AudioInputStream | getAudioInputStream(AudioFormat.
Implements abstract javax. Obtains an audio input stream with the specified encoding from the given audio input stream. |
| public AudioInputStream | getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream)
Implements abstract javax. Obtains an audio input stream with the specified format from the given audio input stream. |
| public AudioInputStream | |
| public AudioFormat. | getSourceEncodings()
Implements abstract javax. Obtains the set of source format encodings from which format conversion services are provided by this provider. |
| public AudioFormat. | getTargetEncodings()
Implements abstract javax. Obtains the set of target format encodings to which format conversion services are provided by this provider. |
| public AudioFormat. | getTargetEncodings(AudioFormat sourceFormat)
Implements abstract javax. Obtains the set of target format encodings supported by the format converter given a particular source format. |
| public AudioFormat[] | getTargetFormats(AudioFormat.
Implements abstract javax. Obtains the set of target formats with the encoding specified supported by the format converter. |
| public boolean | isConversionSupported(AudioFormat targetFormat, AudioFormat sourceFormat)
Overrides javax. Indicates whether the format converter supports conversion to one particular format from another. |
| public boolean | isConversionSupported(AudioFormat.
Overrides javax. Indicates whether the format converter supports conversion to a particular encoding from a particular format. |
| formats | back to summary |
|---|---|
| private final AudioFormat. | |
| AudioFloatFormatConverter | back to summary |
|---|---|
| public AudioFloatFormatConverter() | |
| getAudioInputStream | back to summary |
|---|---|
| public AudioInputStream getAudioInputStream(AudioFormat. Implements abstract javax. Doc from javax. Obtains an audio input stream with the specified encoding from the given audio input stream.
| |
| getAudioInputStream | back to summary |
|---|---|
| public AudioInputStream getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream) Implements abstract javax. Doc from javax. Obtains an audio input stream with the specified format from the given audio input stream.
| |
| getAudioInputStream | back to summary |
|---|---|
| public AudioInputStream getAudioInputStream(AudioFormat targetFormat, AudioFloatInputStream sourceStream) | |
| getSourceEncodings | back to summary |
|---|---|
| public AudioFormat. Implements abstract javax. Doc from javax. Obtains the set of source format encodings from which format conversion services are provided by this provider.
| |
| getTargetEncodings | back to summary |
|---|---|
| public AudioFormat. Implements abstract javax. Doc from javax. Obtains the set of target format encodings to which format conversion services are provided by this provider.
| |
| getTargetEncodings | back to summary |
|---|---|
| public AudioFormat. Implements abstract javax. Doc from javax. Obtains the set of target format encodings supported by the format converter given a particular source format. If no target format encodings are supported for this source format, an array of length 0 is returned.
| |
| getTargetFormats | back to summary |
|---|---|
| public AudioFormat[] getTargetFormats(AudioFormat. Implements abstract javax. Doc from javax. Obtains the set of target formats with the encoding specified supported by the format converter. If no target formats with the specified encoding are supported for this source format, an array of length 0 is returned.
| |
| isConversionSupported | back to summary |
|---|---|
| public boolean isConversionSupported(AudioFormat targetFormat, AudioFormat sourceFormat) Overrides javax. Doc from javax. Indicates whether the format converter supports conversion to one particular format from another.
| |
| isConversionSupported | back to summary |
|---|---|
| public boolean isConversionSupported(AudioFormat. Overrides javax. Doc from javax. Indicates whether the format converter supports conversion to a particular encoding from a particular format.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final AudioFloatConverter | |
| private final int | |
| private float[] | |
| private final AudioFloatInputStream |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | available()
Overrides java. Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking, which may be 0, or 0 when end of stream is detected. |
| public void | close()
Overrides java. Implements java. Closes this input stream and releases any system resources associated with the stream. |
| public synchronized void | mark(int readlimit)
Overrides java. Marks the current position in this input stream. |
| public boolean | markSupported()
Overrides java. Tests if this input stream supports the |
| public int | read()
Implements abstract java. Reads the next byte of data from the input stream. |
| public int | read(byte[] b, int off, int len)
Overrides java. Reads up to |
| public synchronized void | reset()
Overrides java. Repositions this stream to the position at the time the
|
| public long | skip(long n)
Overrides java. Skips over and discards |
| converter | back to summary |
|---|---|
| private final AudioFloatConverter converter | |
| fsize | back to summary |
|---|---|
| private final int fsize | |
| readfloatbuffer | back to summary |
|---|---|
| private float[] readfloatbuffer | |
| stream | back to summary |
|---|---|
| private final AudioFloatInputStream stream | |
| AudioFloatFormatConverterInputStream | back to summary |
|---|---|
| pack-priv AudioFloatFormatConverterInputStream(AudioFormat targetFormat, AudioFloatInputStream stream) | |
| available | back to summary |
|---|---|
| public int available() throws IOException Overrides java. Doc from java. Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking, which may be 0, or 0 when end of stream is detected. The read might be on the same thread or another thread. A single read or skip of this many bytes will not block, but may read or skip fewer bytes. Note that while some implementations of A subclass's implementation of this method may choose to throw an
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this input stream and releases any system resources associated with the stream.
| |
| mark | back to summary |
|---|---|
| public synchronized void mark(int readlimit) Overrides java. Doc from java. Marks the current position in this input stream. A subsequent call to
the The The general contract of Marking a closed stream should not have any effect on the stream.
| |
| markSupported | back to summary |
|---|---|
| public boolean markSupported() Overrides java. Doc from java. Tests if this input stream supports the
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Implements abstract java. Doc from java. Reads the next byte of data from the input stream. The value byte is
returned as an
| |
| read | back to summary |
|---|---|
| public int read(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Reads up to This method blocks until input data is available, end of file is detected, or an exception is thrown. If The first byte read is stored into element In every case, elements
| |
| reset | back to summary |
|---|---|
| public synchronized void reset() throws IOException Overrides java. Doc from java. Repositions this stream to the position at the time the
The general contract of
| |
| skip | back to summary |
|---|---|
| public long skip(long n) throws IOException Overrides java. Doc from java. Skips over and discards
| |
| Modifier and Type | Field and Description |
|---|---|
| private final AudioFloatInputStream | |
| private float[] | |
| private final int | |
| private final int | |
| private final AudioFormat |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public void | |
| public AudioFormat | |
| public long | |
| public void | |
| public boolean | |
| public int | read(float[] b, int off, int len)
Implements abstract com.
|
| public void | |
| public long |
| ais | back to summary |
|---|---|
| private final AudioFloatInputStream ais | |
| conversion_buffer | back to summary |
|---|---|
| private float[] conversion_buffer | |
| sourceChannels | back to summary |
|---|---|
| private final int sourceChannels | |
| targetChannels | back to summary |
|---|---|
| private final int targetChannels | |
| targetFormat | back to summary |
|---|---|
| private final AudioFormat targetFormat | |
| AudioFloatInputStreamChannelMixer | back to summary |
|---|---|
| pack-priv AudioFloatInputStreamChannelMixer(AudioFloatInputStream ais, int targetChannels) | |
| available | back to summary |
|---|---|
| public int available() throws IOException Implements abstract com.
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements abstract com.
| |
| getFormat | back to summary |
|---|---|
| public AudioFormat getFormat() Implements abstract com.
| |
| getFrameLength | back to summary |
|---|---|
| public long getFrameLength() Implements abstract com.
| |
| mark | back to summary |
|---|---|
| public void mark(int readlimit) Implements abstract com.
| |
| markSupported | back to summary |
|---|---|
| public boolean markSupported() Implements abstract com.
| |
| read | back to summary |
|---|---|
| public int read(float[] b, int off, int len) throws IOException Implements abstract com.
| |
| reset | back to summary |
|---|---|
| public void reset() throws IOException Implements abstract com.
| |
| skip | back to summary |
|---|---|
| public long skip(long len) throws IOException Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final AudioFloatInputStream | |
| private final int | |
| private float[][] | |
| private final float[][] | |
| private final float[] | |
| private float | |
| private int | |
| private final float[] | |
| private float[][] | |
| private float | |
| private int | |
| private final int | |
| private final int[] | |
| private final int | |
| private final int | |
| private final float[] | |
| private SoftAbstractResampler | |
| private float[] | |
| private final AudioFormat |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public void | |
| public AudioFormat | |
| public long | |
| public void | |
| public boolean | |
| public int | read(float[] b, int off, int len)
Implements abstract com.
|
| private void | |
| public void | |
| public long |
| ais | back to summary |
|---|---|
| private final AudioFloatInputStream ais | |
| buffer_len | back to summary |
|---|---|
| private final int buffer_len | |
| cbuffer | back to summary |
|---|---|
| private float[][] cbuffer | |
| ibuffer | back to summary |
|---|---|
| private final float[][] ibuffer | |
| ibuffer2 | back to summary |
|---|---|
| private final float[] ibuffer2 | |
| ibuffer_index | back to summary |
|---|---|
| private float ibuffer_index | |
| ibuffer_len | back to summary |
|---|---|
| private int ibuffer_len | |
| ix | back to summary |
|---|---|
| private final float[] ix | |
| mark_ibuffer | back to summary |
|---|---|
| private float[][] mark_ibuffer | |
| mark_ibuffer_index | back to summary |
|---|---|
| private float mark_ibuffer_index | |
| mark_ibuffer_len | back to summary |
|---|---|
| private int mark_ibuffer_len | |
| nrofchannels | back to summary |
|---|---|
| private final int nrofchannels | |
| ox | back to summary |
|---|---|
| private final int[] ox | |
| pad | back to summary |
|---|---|
| private final int pad | |
| pad2 | back to summary |
|---|---|
| private final int pad2 | |
| pitch | back to summary |
|---|---|
| private final float[] pitch | |
| resampler | back to summary |
|---|---|
| private SoftAbstractResampler resampler | |
| skipbuffer | back to summary |
|---|---|
| private float[] skipbuffer | |
| targetFormat | back to summary |
|---|---|
| private final AudioFormat targetFormat | |
| AudioFloatInputStreamResampler | back to summary |
|---|---|
| pack-priv AudioFloatInputStreamResampler(AudioFloatInputStream ais, AudioFormat format) | |
| available | back to summary |
|---|---|
| public int available() throws IOException Implements abstract com.
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements abstract com.
| |
| getFormat | back to summary |
|---|---|
| public AudioFormat getFormat() Implements abstract com.
| |
| getFrameLength | back to summary |
|---|---|
| public long getFrameLength() Implements abstract com.
| |
| mark | back to summary |
|---|---|
| public void mark(int readlimit) Implements abstract com.
| |
| markSupported | back to summary |
|---|---|
| public boolean markSupported() Implements abstract com.
| |
| read | back to summary |
|---|---|
| public int read(float[] b, int off, int len) throws IOException Implements abstract com.
| |
| readNextBuffer | back to summary |
|---|---|
| private void readNextBuffer() throws IOException | |
| reset | back to summary |
|---|---|
| public void reset() throws IOException Implements abstract com.
| |
| skip | back to summary |
|---|---|
| public long skip(long len) throws IOException Implements abstract com.
| |