java.lang.Object | ||
↳ | javax.sound.sampled.spi.FormatConversionProvider | |
↳ | com.sun.media.sound.PCMtoPCMCodec |
Converts among signed/unsigned and little/big endianness of sampled.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new PCMtoPCM codec object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obtains an audio input stream with the specified encoding from the given audio
input stream.
| |||||||||||
use old code
| |||||||||||
Obtains the set of source format encodings from which format
conversion services are provided by this provider.
| |||||||||||
Obtains the set of target format encodings supported by the format converter
given a particular source format.
| |||||||||||
Obtains the set of target format encodings to which format
conversion services are provided by this provider.
| |||||||||||
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.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Constructs a new PCMtoPCM codec object.
Obtains an audio input stream with the specified encoding from the given audio input stream.
targetEncoding | desired encoding of the stream after processing |
---|---|
sourceStream | stream from which data to be processed should be read |
use old code
targetFormat | desired data format of the stream after processing |
---|---|
sourceStream | stream from which data to be processed should be read |
Obtains the set of source format encodings from which format conversion services are provided by this provider.
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.
Obtains the set of target format encodings to which format conversion services are provided by this provider.
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.