Spec-Zone .ru
спецификации, руководства, описания, API
JavaTM 2 Platform
Std. Ed. v1.3.1

Uses of Class
javax.sound.sampled.AudioFormat.Encoding

Packages that use AudioFormat.Encoding
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 AudioFormat.Encoding in javax.sound.sampled
 

Fields in javax.sound.sampled declared as AudioFormat.Encoding
protected  AudioFormat.Encoding AudioFormat.encoding
          The audio encoding technique used by this format.
static AudioFormat.Encoding AudioFormat.Encoding.PCM_SIGNED
          Specifies signed, linear PCM data.
static AudioFormat.Encoding AudioFormat.Encoding.PCM_UNSIGNED
          Specifies unsigned, linear PCM data.
static AudioFormat.Encoding AudioFormat.Encoding.ULAW
          Specifies u-law encoded data.
static AudioFormat.Encoding AudioFormat.Encoding.ALAW
          Specifies a-law encoded data.
 

Methods in javax.sound.sampled that return AudioFormat.Encoding
static AudioFormat.Encoding[] AudioSystem.getTargetEncodings(AudioFormat.Encoding sourceEncoding)
          Obtains the encodings that the system can obtain from an audio input stream with the specified encoding using the set of installed format converters.
static AudioFormat.Encoding[] AudioSystem.getTargetEncodings(AudioFormat sourceFormat)
          Obtains the encodings that the system can obtain from an audio input stream with the specified format using the set of installed format converters.
 AudioFormat.Encoding AudioFormat.getEncoding()
          Obtains the type of encoding for sounds in this format.
 

Methods in javax.sound.sampled with parameters of type AudioFormat.Encoding
static AudioFormat.Encoding[] AudioSystem.getTargetEncodings(AudioFormat.Encoding sourceEncoding)
          Obtains the encodings that the system can obtain from an audio input stream with the specified encoding using the set of installed format converters.
static boolean AudioSystem.isConversionSupported(AudioFormat.Encoding targetEncoding, AudioFormat sourceFormat)
          Indicates whether an audio input stream of the specified encoding can be obtained from an audio input stream that has the specified format.
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 AudioFormat[] AudioSystem.getTargetFormats(AudioFormat.Encoding targetEncoding, AudioFormat sourceFormat)
          Obtains the formats that have a particular encoding and that the system can obtain from a stream of the specified format using the set of installed format converters.
 

Constructors in javax.sound.sampled with parameters of type AudioFormat.Encoding
AudioFormat(AudioFormat.Encoding encoding, float sampleRate, int sampleSizeInBits, int channels, int frameSize, float frameRate, boolean bigEndian)
          Constructs an AudioFormat with the given parameters.
 

Uses of AudioFormat.Encoding in javax.sound.sampled.spi
 

Methods in javax.sound.sampled.spi that return AudioFormat.Encoding
abstract  AudioFormat.Encoding[] FormatConversionProvider.getSourceEncodings()
          Obtains the set of source format encodings from which format conversion services are provided by this provider.
abstract  AudioFormat.Encoding[] FormatConversionProvider.getTargetEncodings()
          Obtains the set of target format encodings to which format conversion services are provided by this provider.
abstract  AudioFormat.Encoding[] FormatConversionProvider.getTargetEncodings(AudioFormat sourceFormat)
          Obtains the set of target format encodings supported by the format converter given a particular source format.
 

Methods in javax.sound.sampled.spi with parameters of type AudioFormat.Encoding
 boolean FormatConversionProvider.isSourceEncodingSupported(AudioFormat.Encoding sourceEncoding)
          Indicates whether the format converter supports conversion from the specified source format encoding.
 boolean FormatConversionProvider.isTargetEncodingSupported(AudioFormat.Encoding targetEncoding)
          Indicates whether the format converter supports conversion to the specified target format encoding.
 boolean FormatConversionProvider.isConversionSupported(AudioFormat.Encoding targetEncoding, AudioFormat sourceFormat)
          Indicates whether the format converter supports conversion to a particular encoding from a particular format.
abstract  AudioFormat[] FormatConversionProvider.getTargetFormats(AudioFormat.Encoding targetEncoding, AudioFormat sourceFormat)
          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.
abstract  AudioInputStream FormatConversionProvider.getAudioInputStream(AudioFormat.Encoding targetEncoding, AudioInputStream sourceStream)
          Obtains an audio input stream with the specified encoding 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.

free hit counter